Where does Combobox's Itemdata Property go?
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngvs' list.


Jigs
In VB6 it was really easy to load a ComboBox with data and then
use the ItemData property to associate a key value or something with the
item in the list.

There looks to no longer be an ItemData property... So,
how do you load manually (for example) Customer Names and Customer ID's into
a ComboBox -- showing the Customer Names but when one is selected, use the
Customer ID? Again, I want to do this manually and not use DataBinding.

-Jignesh

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

Reply to this message...
 
    
Martin Garins
Here is a article on where it went and the new way to accomplish the
same thing.

http://support.microsoft.com/default.aspx?scid=3DKB;EN-US;Q311340&

Martin Garins, MCSD
Vice President - Technology
e-Intersect Corp.
http://www.e-intersect.com
http://www.jppex.com

-----Original Message-----
From: Jigs [mailto:Click here to reveal e-mail address]=20
Sent: Tuesday, August 06, 2002 12:43 AM
To: aspngvs
Cc: Click here to reveal e-mail address; Click here to reveal e-mail address
Subject: [aspngvs] Where does Combobox's Itemdata Property go?

In VB6 it was really easy to load a ComboBox with data and then use the
ItemData property to associate a key value or something with the item in
the list.=20

There looks to no longer be an ItemData property... So,
how do you load manually (for example) Customer Names and Customer ID's
into a ComboBox -- showing the Customer Names but when one is selected,
use the Customer ID? Again, I want to do this manually and not use
DataBinding.

-Jignesh

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better http://health.yahoo.com

| [aspngvs] member Click here to reveal e-mail address =3D YOUR ID=20
| http://www.asplists.com/asplists/aspngvs.asp =3D JOIN/QUIT=20
| http://www.asplists.com/search =3D SEARCH Archives

Reply to this message...
 
 
System.Web.UI.DataBinding
System.Windows.Forms.ComboBox




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com