Hello everyone,
I am generating controls like textbox ,labels dynamically for different subjects which are further dependent on the standard selected now i have to cross check that which controls are generated like if i select standard 9 then controls of subjects would be of Maths, science etc and if i select 11th science then it would be physics , chemistry etc. for that i have taken an bool[] b array in which i specify that b[0] is for Maths and if maths textbox is generated then it is set to true else it is false.
Now what i need is can i have array like this b["Maths"]=true OR b["M"]=true?? i.e. is it possible to traverse or iterate to an array using string or character ??
Please let me know if it is possible ...
Thanks & Regards,
Krunal Panchal