Checkboxes databinding

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I appreciate all the help I got from this newsgroup regarding my problem with
binding check boxes to a datatable, but nothing worked!!! I really, really
need to read articles about this subject "binding check boxes to a
datatable". This piece represents a big chunk of the application I'm
developing now and I'm totally stuck!! Are there any white papers/
articles/books about that? Please help!!!!!!!!
 
Dear TS,

You can databind do a checkbox this way:

CheckBox.DataBindings.Add("Checked", dataSource, "Member")

where "Member" is a boolean (or an integer: 0/1), like: "Customers.IsHappy"

Hope this helps,

Michel van den Berg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top