.NET Framework 4.6 and 4.5
Cancels an edit procedure.
After calling CancelEdit, all changes to the row are rolled back. You can also roll back changes by calling RejectChanges on the parent DataTable.
The following example edits a row in a DataView. The CancelEdit method is called to cancel the changes if the validation fails.
No code example is currently available or this language may not be supported.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
Supported in: 3.0, 2.0, 1.0