Click here to Skip to main content
15,895,740 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
hi..
i want to display two column in List Box. I want to display Company name and Contact Name in List Box.
Posted
Comments
Sergey Alexandrovich Kryukov 2-Mar-12 3:30am    
Tag it: WPF, Forms, Silverlight or ASP.NET, what?
--SA

1 solution

Something like a list but with columns is ListView.

But now, there are at least three of them in .NET, for different application types or UI libraries:

http://msdn.microsoft.com/en-us/library/system.windows.controls.listview.aspx[^] (WPF),
http://msdn.microsoft.com/en-us/library/system.windows.forms.listview.aspx[^] (System.Windows.Forms),
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.listview.aspx[^] (ASP.NET).

You need to decide which one do you use and always tag this application type or library when asking the question. The tags can be: WPF, Forms, Silverlight or ASP.NET.

—SA
 
Share this answer
 
Comments
sunilsmaarth 2-Mar-12 3:49am    
thanks for you prompt reply
Sergey Alexandrovich Kryukov 2-Mar-12 14:32pm    
You are very welcome.
If you got it, consider accepting the answer formally (green button) -- thanks.
--SA
Sergey Alexandrovich Kryukov 2-Mar-12 14:35pm    
You are very welcome.
You you got it, consider accepting my answer formally (green button) -- thanks.
--SA

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