.NETGURU
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




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification