NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataTable.RejectChanges

Rolls back all changes that have been made to the table since it was loaded, or the last time AcceptChanges was called.

[Visual Basic]
Public Sub RejectChanges()
[C#]
public void RejectChanges();
[C++]
public: void RejectChanges();
[JScript]
public function RejectChanges();

Remarks

When RejectChanges is called, any DataRow objects that are still in edit-mode cancel their edits. New rows are removed. Rows with the DataRowState set to Modified or Deleted return back to their original state.

See Also

DataTable Class | DataTable Members | System.Data Namespace | AcceptChanges | BeginEdit | DataRow | DataRowState | DataRowVersion | EndEdit