Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends,

I want to create one list box with two columns

The picture that illustrate this case better is:




Please tell me how i can make this with listbox in c#

thanks my friends

Have a great day!

Sincerly

Leonardo Ayala R.
Posted

1 solution

It's a combobox, not a listbox. Two CodeProject articles:

Multi Column ComboBox[^]

Multi-Column ComboBox[^]
 
Share this answer
 
Comments
Nish Nishant 14-Jan-11 21:14pm    
John, both those links are to old articles with .NET 1/1.1 code. How about linking to a more modern implementation with full data binding support? Something like maybe this one:

http://www.codeproject.com/KB/combobox/DotNetMultiColumnComboBox.aspx

*grin*
leocode7 17-Jan-11 15:33pm    
Thanks, it is the solution! -
#realJSOP 17-Jan-11 6:06am    
Either way, my point was that google is always your friend. I saw that both articles used .Net 1.n, but I figured the guy would nut-up, be a programmer, and work it out on his own. I know, by now, I should really know better...
leocode7 19-Jan-11 16:02pm    
My problem was that I was thought that the control was a listbox. but the contrl is a combobox. For this reason i don't search used to google and i prefer asked in codeproject because I was be finding for a "MultiListboxColumn" jejeje. anyway thanks for your answer and your advice
leocode7 17-Jan-11 14:15pm    
My problem was that I was thought that the control was a listbox.
but the contrl is a combobox.
For this reason i don't search used to google and i prefer asked in codeproject
because I was be finding for a "MultiListboxColumn" jejeje.
anyway thanks for your answer and your advice

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