how can you identify whether or not any changes


How can you identify whether or not any changes are made to the DataSet object as it was last loaded?

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 as the AcceptChanges() method was executed.

The HasChanges() method - Indicates if any alters occurred since the DataSet object was loaded or after a call to the AcceptChanges() method was made.

If you require to revert all changes since the DataSet object was loaded, use the RejectChanges() method.

 

Request for Solution File

Ask an Expert for Answer!!
DOT NET Programming: how can you identify whether or not any changes
Reference No:- TGS0311098

Expected delivery within 24 Hours