-
May 2nd, 2013, 11:36 AM
#1
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.
Gus
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|