Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copyto array problem
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01113072
Message ID:
01113084
Vues:
18
There seems to be something funny with using that copyto() and arraylist:

anyway this was my work around, works ok, not sure if its the best way to do it.

string[] Items = new string[ListBox2.Items.Count];
int i=0;
foreach (ListItem Item in ListBox2.Items)
{
Items.SetValue(Item.Text.Trim(), i);
i+=1;
}
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform