I am using the DataGridView Control for reading and writing an XML file through XML Serialization.
I have an issue as explained below:
The best way (though quick and dirty) is to assign the currentCell value to Nothing.
Nothing
For example, in the save method, do:
dgvMyGrid.CurrentCell = Nothing
and then proceed further.