DataTable.Reset() vs DataTable.RejectChange()

  • Thread starter Thread starter Billy
  • Start date Start date
B

Billy

Anyone can tell me the difference between
DataTable.Reset() and DataTable.RejectChanges()?
 
Hi Billy,

Reset is used to reset the table to the same state after it is created (it
clears columns, constraints, ..).
While the RejectChanges resets only the data changes from the last neutral
state.
 
I got the idea, thanks.
-----Original Message-----
Hi Billy,

Reset is used to reset the table to the same state after it is created (it
clears columns, constraints, ..).
While the RejectChanges resets only the data changes from the last neutral
state.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

Billy said:
Anyone can tell me the difference between
DataTable.Reset() and DataTable.RejectChanges()?


.
 
Back
Top