Hello
I used a datatable for fill Grid.
I add row in datatable in my Code and I want to show changes in my Grid.
for this work I used "dt.AcceptChanges()".
but i need used "dt.GetChanges()".
Because I use "dt.AcceptChanges() ", " dt.GetChanges()" is empty.
Now how do I use "dt.GetChanges()".
1 Answer, 1 is accepted
0
Julian Benkov
Telerik team
answered on 12 Jun 2012, 05:52 AM
Hi Sinderela,
You can use GetChanges method to view the copy of the DataTable with all changes made before calling the AcceptChanges method. The last method will reset the state of every row and the DataRowState also changes - all Added and Modified rows become Unchanged, and the Deleted rows are removed.