Hi,
I am using MySql Database; I retrieved data from database and populate data to text field and I have made some modification on it. And I try to store changes to DataTable by using data.GetChanges() command; it is retrieving null value! If I am changing the record position I am getting the data changes by using same command. I think I have to execute some command before running GetChanges(). Please help me on this issue
Thanks & Regards
Thahir

Posted Jun 21, 2012, 8:27 AM EDT
Have you called called ,
datarow.BeginEdit();
//do the modification
datatow.EndEdit();
Suthish NairRank #92 · 22.8K reputationPosted Jun 21, 2012, 9:31 AM EDT
Thahir Pattanathel6 reputationPosted Jun 21, 2012, 8:16 PM EDT
Posted Jun 21, 2012, 11:17 PM EDT
DataTable changes = data.GetChanges();
Add a break point in the above line and see, the modified records are available in data table.
Thahir Pattanathel6 reputationPosted Jun 22, 2012, 12:27 AM EDT
Thanks & Regards
Thahir