Bind Checkbox to a data source ?

J

JezB

How do I bind a checkbox to a data source ? I need to bind the "Checked"
property to something presumably, but how and where do I translate the data
values (which may be numeric 0/1 or character Y/N) to a True/False value ?
 
T

Tim Wilson

The Binding class has two events - Format and Parse. These can be used to
translate values during the binding process.
 

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

Top