Link to home
Start Free TrialLog in
Avatar of spen_lang
spen_lang

asked on

DataSet Bound Checkbox Value

Hi,

I have bound a checkbox to a dataset using
cbSettings.DataBindings.Add("CheckState", BindingSource1, "Settings", True, DataSourceUpdateMode.OnValidation, False)

Open in new window


However, if the checkbox is unchecked then the dataset value is set to NULL whereas it should be 0 (database column is BIT)

The ThreeState property of the checkbox is False

Thanks, Greg
ASKER CERTIFIED SOLUTION
Avatar of spen_lang
spen_lang

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial