System.Windows.Forms.BindingSource.EndEdit Method

Applies pending changes to the underlying data source.

Syntax

public void EndEdit ()

Remarks

When the BindingSource.EndEdit method is called, all pending changes are applied to the underlying data source.

This method has no effect unless the objects contained by the data source implement the System.ComponentModel.IEditableObject interface. If the objects do not implement the System.ComponentModel.IEditableObject interface, changes to the data are copied to the underlying data source immediately after each change.

This method raises the BindingSource.ListChanged event.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0