Gets a DataSet with the changes since the last call to AcceptChanges or since the object was loaded. The data is filtered by System.Data.DataRowState.
- rowStates
- One of the values defined in the System.Data.DataRowState structure.
A filtered copy of all the changes which can be operated upon separately to the current object and then merged back in using DataSet.Merge, or null reference if no changes are found.
The returned copy is structured so that it is easy to merge it back into the original dataset. It is however possible that the copied data will contain Unchanged rows if they were selected because of relationship constraints of the original object.
Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0