Inserting Vaules into Multiple columns in a ListBox?

S

Sandeep Singh

Hi,
How can I make a ListBox multicolumn and insert values into multiple
columns of the listbox? I want to select the whole row as one......


Thanx in advance....

Regards,
Sandeep
 
J

Jeffrey Tan[MSFT]

Hi Sandeep,

Thanks for your post.

If you want a multicolumn ListBox, I think the best choice is using
ListView control. ListView control provides more complex function than
ListBox, and its Details view mode provides the multicolumn function.

If I misunderstand you, please feel free to tell me, thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
H

Herfried K. Wagner [MVP]

Sandeep Singh said:
How can I make a ListBox multicolumn and insert values into multiple
columns of the listbox? I want to select the whole row as one......

You may want to use a listview, datagrid or datagridview (.NET 2.0) control
instead.
 
S

Sandeep Singh

Thanks for ur suggestion. I used the ListView control and was able to
perform the required function.

Sandeep
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top