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 itemList
: Access the complete data collection
Data Operations
Manage data with methods like:
RemoveCurrent
: Delete current itemEndEdit
: Commit changesCancelEdit
: Discard changesAdd
/AddNew
: Create new items
Event Customization
Customize behavior through events:
CurrentItemChanged
: React to current item updatesDataSourceChanged
: Handle data source modifications
Navigation Integration
Value Refresh
The RefreshValueOnChange
property enables automatic source property updates when data-bound values change.
Last updated
Was this helpful?