This is all using the new ES 2008 released yesterday.
I have a table which has six columns of type bit which do
not allow nulls.
The columns are databound to different CheckBox’s .Checked property via a
BindingSource.
The situation which breaks down is:
When I add a new record, if don’t give one of the CheckBox focus at all, then
the underlying property is still null and when I goto Save it will fail since
we can’t put null in a non-null column.
Was wondering if anyone has an elegant way of forcing an initial
bind to make sure things like the state of checkboxes gets bound properly when a
new item is added?
Thanks,
Jonathan