best way to represent checkbox and bind to database

  • Thread starter Thread starter forum.microsoft.com
  • Start date Start date
F

forum.microsoft.com

I am trying to bind windows form checkbox in Sql and bind the checkbox to
sql.

I tried representing checkstate as integer 1 for true otherwise integer 0.
That does not work. I tried binding to checkstate

Do I have to have custom code?
 
casting the column in dataset designer to Boolean and bind to the checked
instead of checkstate work great.
 
Back
Top