dotnetmonitor.com |
|
||||||||||||
| You can set the
DataSourceUpdateMode for a binding using the VS 2005 designer using the
Formatting and Advanced Binding dialog. You can set this value in code as
shown below:
/* Bind the CheckBox.Checked property to the data source property Prop */ /* Update the data source when the Checked property value changes */ cb.DataBindings.Add("Checked", ds, "Prop", true, DataSourceUpdateMode.OnPropertyChanged); |
||||||||||||
|
||||||||||||