BindingSource

Encapsulates the data source for a data-bound component.

The Wisej.NET BindingSource component simplifies data binding by providing currency management, change notification, and intermediary services between controls and data sources. Connect to data through the DataSource property, optionally specifying a DataMember for complex scenarios.

Features

Data Access

Access underlying data through:

  • Current: Get or modify the current item

  • List: Access the complete data collection

Data Operations

Manage data with methods like:

  • RemoveCurrent: Delete current item

  • EndEdit: Commit changes

  • CancelEdit: Discard changes

  • Add/AddNew: Create new items

Event Customization

Customize behavior through events:

  • CurrentItemChanged: React to current item updates

  • DataSourceChanged: Handle data source modifications

Works seamlessly with the BindingNavigator control through its BindingNavigator.BindingSource property for VCR-style data navigation.

Value Refresh

The RefreshValueOnChange property enables automatic source property updates when data-bound values change.

For a full list of properties, methods and events see the API documentation.

Last updated

Was this helpful?