Bound Checkbox and SQL datatypes
I can stop the program from the IDE.
1) This appears to be a bug
2) Is it possible to bind a checkbox to an SQL smallint? If not how does one use the checkbox with SQL table data?
This is indeed a bug. It should be possible to bind a checkbox to a SQL smallint. I will work with our dev team to see about getting this fixed.
In the mean time, you can work around this by dragging a CheckBox from the Toolbox window onto your form and then setting its (DataBindings)->Checked property in the Properties window to your SmallInt column on the BindingSource generated by the Data Sources Window.
I hope this helps.
Jay Hickerson
Visual Basic Team
That is I swaped the DataBinding values of CheckState and Checked on the CheckBox that was created by dragging a DataSource Tables(Details) on to a form.
Seems to work OK with 1, 0, and Null.
Thanks!