May 2nd, 2013, 11:36 AM
Accessing objects using their name reference through string variables
I have an check box name into a string variable as follows : String Myvar = "checkbox01".
I want to access the check box properties doing something like Myvar.checked = true; as I was referring direct to the string content or maybe Mayvar.text = "New-text"...
Is there a way to make C# understand this?
Thank you very much.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.