Checkbox controls
To set a checkbox, you can you code similar to the following.
1 |
If you are driving a bit field
1 | chkActive.Checked = IIf(.Item("Active") = 1, 1, 0) |
If you are driving a varchar field
1 | If .Item("Interest_In_Mentoring").ToString = "Y" Then |
Events
The OnCheckChanged property is executed server side when the checkbox is changed.