How can we check that some changes have been made to dataset since it was loaded?- The changes made to the dataset can be tracked using the GetChanges and HasChanges methods.
- The GetChanges returns dataset which are changed since it was loaded or since Acceptchanges was executed.
- The HasChanges property indicates if any changes were made to the dataset since it was loaded or if acceptchanges method was executed.
- The RejectChanges can be used to revert thee changes made to the dataset since it was loaded.How can we check that some changes have been made to dataset since it was loaded?1. GetChanges: gives the dataset that has changed since newly loaded or since Accept changes has been executed. 2. HasChanges: this returns a status that tells if any changes have been made to the dataset since accept changes was executed.
|