Link to home
Start Free TrialLog in
Avatar of SamCash
SamCashFlag for United States of America

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
ASKER CERTIFIED SOLUTION
Avatar of Shaun Kline
Shaun Kline
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SamCash

ASKER

Shaun,

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