DataTable.RejectChanges Method ()
.NET Framework (current version)
Rolls back all changes that have been made to the table since it was loaded, or the last time AcceptChanges was called.
Assembly: System.Data (in System.Data.dll)
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.
.NET Framework
Available since 1.1
Available since 1.1
Show: