Hello,
I have a no. of checkboxes on a c# form application. these are labelled as 1, 2, 3 and so on... I want to programmaticall y make them checked or unchecked according to their label, e-g;
I can have a list of checkboxes by filtering myForm.controls[] but don't know how to index them?
I have a no. of checkboxes on a c# form application. these are labelled as 1, 2, 3 and so on... I want to programmaticall y make them checked or unchecked according to their label, e-g;
Code:
if (i==2) //mark checkbox labelled '2' as checked
Comment