JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Binding Checkboxes

Checkboxes are simple data-binding controls. Here are the commonly bound properties displayed when you expand the (DataBindings) property:

  • CheckAlign

  • Checked

  • CheckState

  • Tag

  • Text

You can, of course, bind any property; just click the Advanced item in the (DataBindings) property. You can see an example of data binding with this control in the DataBinding example on the CD-ROM in Figure 21.3, where I've bound the Checked property to the authors.contract field in the pubs database.

Related solution:

Found on page:

Using the CheckBox Class


Previous Section Next Section

JavaScript Editor Free JavaScript Editor     JavaScript Editor