How can i add a column of number to listbox..

Hi,
How can i add a column of number to listbox..

listbox is bound to 1 filed name
eg

name
a
d
g
I want to add column
no name
1   a
2   d
etc
anusdesaiAsked:
Who is Participating?
 
DarkoLordConnect With a Mentor Commented:
Hi,

ListBox does not unfortunately not support multiple columns. You can use either align strings manually, use other provided databound control (such as DataGrid or DataGridView) or use something like this: http://www.codeproject.com/cs/combobox/multicolumnlistbox.asp
0
 
Jorge PaulinoIT Pro/DeveloperCommented:
I will sugest you to use a listview. Is the most approach of listbox and very easy to use
0
 
Jorge PaulinoConnect With a Mentor IT Pro/DeveloperCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.