BindingSource
From Visual WebGui Wiki
| This article will have a few sections added to it soon, based on the following article type skeleton: NewControlTemplate |
| This article missing it's contents and needs writing. Please help contributing to this wiki and add contents. |
Contents |
Overview
The BindingSource control is functionally equivialent to the Windows Forms BindingSource control.
Availability
The BindingSource is one of the Out of the Box standard controls, which means it is free and available in all Visual WebGui versions.
Samples of use
Rererences
Forum threads
Other references
- MSDN Windows Forms BindingSource documenation
- Calling BindingSource.EndEdit() is important when datasource is being updated
- Calling EndEdit() can fix problems within a databound combobox serving as a detail info databound to same binding source as a DataGridView. Selecting different value for the combobox does not escalate up to the grid unless selecting another record in the grid. Putting BindingSource.EndEdit() into SelectedValueChanged event of combo is the solution in that case.
- TextBox databound to a DataTable field via a BindingSource requires a call to EndEdit() call before datasource is updated - see here and here.
