Dmitry,
>>
>1. I have noticed that both of your checkbox classes (BBCheckBoxString and BBCheckBox) are designed to be bound to a string column. Do I understand that I would need to create another class - e.g. XXCheckBoxBit - to bind a checkbox to a bit type column?>>
>>No, the second one (BBCheckBox) is your typical CheckBox, designed to be bound to a boolean value (bit in the database), which most of the time you want to do. I'm not sure what gave you the impression it was for a string datatype.
>>
>
>Why then the code in the DataBind of the second class has "string column"?
That's the column name in the DataTable that you're binding to! You'd use the DataBind method like this:
this.MyCheckBox.DataBind(MyTable, "MyBoolColumn");
~~Bonnie