AD
Administrator
Syncfusion Team
March 31, 2005 10:44 PM UTC
Hi Jamal,
1) You can databind a column to any of the value properties, such as StringValue or IntValue.
this.checkBoxAdv1.DataBindings.Add("IntValue", dataTable1, "IntChecked");
2) If you set Enabled to false, the CheckBoxAdv will show it''s value, but not allow the user to change it.
3) Are you asking how you can make the CheckBoxAdv show the CheckedString, UncheckedString, etc. in it''s Text? If so, the following code snippet demonstrates this:
private void checkBoxAdv1_CheckStateChanged(object sender, System.EventArgs e)
{
this.checkBoxAdv1.Text = this.checkBoxAdv1.StringValue;
}
Please let me know if you have any further questions.
Regards,
Gregory Austin
Syncfusion Inc.
PD
Prof DISSOU Jamâl-Dine
April 4, 2005 03:21 PM UTC
Hi Gregory,
It works.
Thanks a lot
Jamâl-Dine DISSOU