|
Answer» The DataSet OBJECT provides the following two methods to TRACK down the CHANGES: The GetChanges() method - RETURNS the DataSet object, which is changed SINCE it was loaded or since the AcceptChanges() method was executed. The HasChanges() method - Indicates if any changes occurred since the DataSet object was loaded or after a call to the AcceptChanges() method was made. If you want to revert all changes since the DataSet object was loaded, use the RejectChanges() method. The DataSet object provides the following two methods to track down the changes: The GetChanges() method - Returns the DataSet object, which is changed since it was loaded or since the AcceptChanges() method was executed. The HasChanges() method - Indicates if any changes occurred since the DataSet object was loaded or after a call to the AcceptChanges() method was made. If you want to revert all changes since the DataSet object was loaded, use the RejectChanges() method.
|