System.Data.DataRowView.CancelEdit Method

Cancels an edit procedure.

Syntax

public void CancelEdit ()

Remarks

After calling DataRowView.CancelEdit, all changes to the row are rolled back. You can also roll back changes by calling DataTable.RejectChanges on the parent System.Data.DataTable.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0