Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Listbox Value

Status
Not open for further replies.

VBGuy2112

Programmer
Feb 19, 2002
58
US
I have a simple form where I'm adding items to a listbox. The displayed field is a person's name but I want to store a userid in the background. In vb, I would have used the itemdata property (as a number I believe).

Is there a way to do this is asp.net?
 
Use the DataValueField property That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top