January 3rd, 2011, 04:31 PM
DataGridView WriteXml() not saving
I have simple datagridview that saves each line as a record to XML as they are entered. I use the CellEndEdit event to call the WriteXml() of the gridview which should save the coulmns as nodes in the XML. But, it does not do so for the first record!!
When I create another record and then do some mouse clicks navigation or press the movefirst, movelast buttons in the binded navigator, then it saves to the XML! It obviously is not finding the data to be saved for the first record - any help would be greatly appreciated.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.