Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MultiColumn ListBox
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
MultiColumn ListBox
Divers
Thread ID:
00970814
Message ID:
00970814
Vues:
75
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform