[]
        
(Showing Draft Content)

Binding C1CheckBox to a Boolean Field

To programmatically bind C1CheckBox to a Boolean field, use the following code:

To write code in Visual Basic

C1CheckBox1.DataSource = dt
C1CheckBox1.DataField = "ColumnBoolean"

To write code in C#

C1CheckBox1.DataSource = dt;
C1CheckBox1.DataField = "ColumnBoolean";

See Also

Binding C1CheckBox to a String Field