Hello there: This is my issue. I do have one combo box in a form from which I want to select a person, by selecting the ID. In the combo box I want to show sorted name, last name, and date of birth. I wonder this should not be so difficult, but I have no idea about how to do so. Could please anybody out there give me a hand!?
Thanks
Luisofo
luisofo
0
Newbie Poster
Recommended Answers
Jump to Post>In the combo box I want to show sorted name, last name, and date of birth
If you have three things to display you'll be better off using listView instead of a combo box.
To sort by different data types you have to use Icomparator.
Jump to PostIncorrect.
Combo box = one column
http://www.startvbdotnet.com/controls/combo.aspx
You prolly mean, listView or DataGridView. Can you post a picture to better explain what you mean?
Jump to PostI'm not sure I understand exactly what you're doing, but I think I have an idea.
What would probably be best for you to use would be a DataGrid. ESPECIALLY if the data you're populating the fields with is db driven. It would be relatively easy to set up as …
All 10 Replies
iamthwee
luisofo
0
Newbie Poster
iamthwee
mercury049
4
Newbie Poster
jbennet
1,618
Most Valuable Poster
Team Colleague
Featured Poster
luisofo
0
Newbie Poster
FaridMasood
-2
Junior Poster in Training
sacretheart
0
Newbie Poster
microdeveloper
0
Newbie Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.