Data Grid View control is a Windows Forms control that gives you the ability to customize and edit tabular data.
All Cells’ enumeration value which automatically adjust the widths of the columns when the data changes. Show("Finish date is not a valid date." & vb Cr Lf & vb Cr Lf & _ "Cancel edits or retry editing? End Edit() '..MSDN documentation is incorrect and the public overload of Cancel Edit does not exit edit mode and to do so we need to follow it with End Edit dgv Actions. I am trying to do this at the end of the below code listing ("If flg Cancel Then..."). What happens is the highlighted cell remains at the row/column of the cell with the cancelled edit. Data Grid View Cell Validating Event Args) Handles dgv Actions. Name '..procedure's name Dim flg Debug As Boolean = False '...debug/test purposes only Dim flg Cancel As Boolean = False Try If dgv Actions.