SamCash
asked on
Value property for asp.net labels
I need a value and text properties for my asp.net labels. Any ideas?
I have a varying number of labels in a lot of gridviews (labels gave the desired graphic appearance), now I need to find the labels by value (not by text). I want to add a value property to my labels. Like dropdownlists.
Or some other technique to hold the id from the database related to the text in the label.
Regards
Sam
I have a varying number of labels in a lot of gridviews (labels gave the desired graphic appearance), now I need to find the labels by value (not by text). I want to add a value property to my labels. Like dropdownlists.
Or some other technique to hold the id from the database related to the text in the label.
Regards
Sam
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the suggestion, it triggered another idea...
I am using a second hidden grid view to hold the id's (.Value) it automatically correlates the row/column of the .Value and the .Text for me.
Thanks Again
Sam