CancelEdit;
The CancelEdit method switches the row from the edit mode without saving the changes. It is actual if the table is linked to a data source.
See also:
IDataGridRow