Skip to main content

BindingSource

WATCH & LEARN0:50 · Animated tutorial
7 scenesPlay, pause, or scrub at your own pace

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

Connect it to the BindingNavigator control through its BindingNavigator.BindingSource property to provide first, previous, next, and last record navigation.

Value Refresh​

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

info

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