Question Problem adding boolean dynamicly

chrisbrons

New member
Joined
Aug 18, 2010
Messages
3
Programming Experience
1-3
Ok here's the issue
I created some code wich dynamicly creates datagrids from several tables. I can view edit, delete and add new items and it works. But when i have a boolean in my table, it renders it ok. I can edit it, but when I add a new record I have to click the checkbox in the datagridview otherwise it writes a null into the table.

I use a sqlceconnection > sqlcedataadapter > untyped dataset > bindingsource > datagridview

Is there a way to make the datagrid set the boolean to false even if it isn't clicked by the user?
 
Back
Top