Y
Yoshi
Let's say that I have the following:
String name = "lblDescription";
The string assigned to the name variable is actually a label control on my
form with that name. Is there away in C# to the name and "cast" it to the
actual label control with that name?
Label l = (Label) name;
I know it doesn't work but can it be done?
Thanks,
Yosh
String name = "lblDescription";
The string assigned to the name variable is actually a label control on my
form with that name. Is there away in C# to the name and "cast" it to the
actual label control with that name?
Label l = (Label) name;
I know it doesn't work but can it be done?
Thanks,
Yosh