J
Jeff Johnson
Hi Everyone,
I have a page with numerous label controls with the Visible attribute set to
false.
On page_load I loop through an array and depending on what is returned for
each label, I want to set the Visible attribute to true as well as a number
of other attributes.
Instead of having a lengthy switch statement listing all of the label
controls, I wanted to know if I could use a variable for the name of these
label controls and set their attributes in a loop.
What type of variable could I use to accomplish this? I've tried object
without success.
Thanks,
Jeff
I have a page with numerous label controls with the Visible attribute set to
false.
On page_load I loop through an array and depending on what is returned for
each label, I want to set the Visible attribute to true as well as a number
of other attributes.
Instead of having a lengthy switch statement listing all of the label
controls, I wanted to know if I could use a variable for the name of these
label controls and set their attributes in a loop.
What type of variable could I use to accomplish this? I've tried object
without success.
Thanks,
Jeff