I am using the DataGridView Control for reading and writing an XML file through XML Serialization.
I have an issue as explained below:
- I read an XML file and populate DataGridView controls with the deserialized object.
- I update all the values on the DataGridView on the cell.
- I choose the File Save As option without losing focus on the last cell.
After this, the value of the particular cell is not updated. If I intentionally shift focus away (say I click on another cell on the same grid) the value is updated.
Can anyone suggest any solution for this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…