Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How to display Multiple columns in the dropdown of ComboBox when data source bound from database table
Posted

1 solution

Hi,

Below article may help you.

Multi-Column ComboBox[^]

Thanks,
 
Share this answer
 
Comments
Member 10227602 17-Sep-13 5:16am    
Hi thanks for the reference provided, but I am not interested in writing code for populating multiple columns, instead i am searching for the Property for Combobox where
I can select the colums to be shown ( for example : Display Member there is only one column I can select, is there an option to select multiple columns as Display member)
C#
V.Lorz 17-Sep-13 6:58am    
You may encapsulate your data in one class and override it's ToString() method so you can generate the text you want to show in the combobox. Dirty but works.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900