I'm currently doing a project to display data. And I'm new in vb.net.
I want to use combo box to display two columns data from data grid view in one time.
But I get an error while run the program.
Can anyone help me? Is it possible to display two columns data in one time?

Recommended Answers

All 2 Replies

It doesn't appear it can. I would suggest though that, unless there's a specific feature in a combobox you absolutley need, a listview control would work. It can display multiple columns and you can select a full row with the fullrowselect property.

Not by itself, but you might find the source code for a custom control to do that here

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.