W
Will Dobbins
I've got a dataset and a windows form I've bound my controls too. I
have two fields that are True/False in the SQL server and wanted to
use checkboxes for those... Everything looks fine, you can navigate
through existing records, etc, right up until you try to add a new
record:
this.BindingContext[this.dsCharacters, "tblCharacters"].AddNew();
Once you do that, nothing appears to happen.
I've traced this down to the checkbox controls, if I unbind them I can
add new records to my dataset and write them back out to the DB
without any problems...
Am I doing something wrong, is there additional code that I'm missing?
Thanks in advance!
Will Dobbins
Online Gaming - Comments and News
http://www.ogcan.com
have two fields that are True/False in the SQL server and wanted to
use checkboxes for those... Everything looks fine, you can navigate
through existing records, etc, right up until you try to add a new
record:
this.BindingContext[this.dsCharacters, "tblCharacters"].AddNew();
Once you do that, nothing appears to happen.
I've traced this down to the checkbox controls, if I unbind them I can
add new records to my dataset and write them back out to the DB
without any problems...
Am I doing something wrong, is there additional code that I'm missing?
Thanks in advance!
Will Dobbins
Online Gaming - Comments and News
http://www.ogcan.com