Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foreach item in a combobox
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Foreach item in a combobox
Divers
Thread ID:
00960453
Message ID:
00960453
Vues:
37
I am trying to do a foreach on all the items in a combobox, but I am having problems finding the correct type
foreach (<type> oItem in this.myComboBox.Items)
{
  MessageBox.Show(oItem.ToString());
}
Anyone know what type I need to use or is there a better way to go through all items in a combobox?

Thanks,
Einar
Semper ubi sub ubi.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform