Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MultiColumn ListBox
Message
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00970814
Message ID:
00970840
Views:
19
I might be mistaken but I think you misunderstand what the multicolumn listbox does. It snakes the single column like this:

Line0 Line2
Line1 Line3

I think you can use a ListView to do what you want (show multiple columns on a single line).


>When I have a simple form with a ListBox where MultiColumn = false I can use the following code to add items to the listbox:
>
>this.listBox1.Items.Add("Line 0");
>this.listBox1.Items.Add("Line 1");
>this.listBox1.Items.Add("Line 2");
>
>
>Now lets say I want to get a little bit more advanced and use a ListBox where MultiColumn = true. Can I use similar code to populate 2 or maybe 3 columns in the listbox or do I have to add my data to a datatable and then bind the datatable to the ListBox?
>
>
>Thanks,
>Einar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform