Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MultiColumn ListBox
Message
General information
Forum:
ASP.NET
Category:
Forms
Title:
MultiColumn ListBox
Miscellaneous
Thread ID:
00970814
Message ID:
00970814
Views:
74
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
Semper ubi sub ubi.
Next
Reply
Map
View

Click here to load this message in the networking platform