• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 167
  • Last Modified:

ListBox questions

Can a list box have more than ONE column?

If so...if the List Box is connected to a datasource...can I have more than one DisplayMember?
0
Tom Knowlton
Asked:
Tom Knowlton
2 Solutions
 
ryerrasCommented:
By default, listbox can not have more than one column, if you can extend the basic control you get from .net
Take a look at the following article, it does try to implement something similar to your needs

http://www.codeproject.com/cs/combobox/multicolumnlistbox.asp?df=100&forumid=4023&exp=0&select=309762
0
 
Fahad MukhtarDistinguished EngineerCommented:
You can use a listview or a datagrid instead... both support multicolumn...
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now