The DataSet object has two methods to track down the changes :
GetChanges() : It returns the DataSet object that has been changed since it was loaded or since the execution of the AcceptChanges()
method.
HasChanges() : It indicates if any modifications were made since from the time the DataSet object was loaded or after a method call to the AcceptChanges() was made.
Use the RejectChanges()
method, if you want to reverse the entire changes since from the time the DataSet object was loaded.