0
ok, I just throught there might have been a If (control is not checkbox). An else statement it will be.
thanks
0
foreach (Control control in Controls)
{
if (control is CheckBox)
{
// you know code here for control which is checkbox
}
else
{
// you know code here for control which is not checkbox
}
}