AD
Administrator
Syncfusion Team
January 13, 2005 12:34 PM UTC
The grid does not really track what records have changed, but if you are using a DataTable datasource, it does.
You can use a DataView to get the modified records, or you can loop through the DataRows in teh DataTable and check each row''s RowState to see if it has been modified.
//dt is the datatable
DataView dv = new DataView(dt, "", "", DataViewRowState.ModifiedCurrent);
for(int i = 0; i < dv.Count; ++i)
Console.WriteLine(dv[i][0]);//.Row.RowState);