BindingSource::CancelEdit Method ()
.NET Framework (current version)
Cancels the current edit operation.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
This method discards modifications to data since the last save or load operation if both of the following conditions are met:
The data source implements the IEditableObject interface.
The EndEdit method has not been called yet.
This method calls the CancelCurrentEdit method of the underlying CurrencyManager, and is scoped to row-level changes.
.NET Framework
Available since 2.0
Available since 2.0
Show: