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