Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I bind a collection to a control?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00971040
Message ID:
00971103
Vues:
27
Bob,
I have another quick question for you. Now that I have the datasource of my combobox set to my collection object is there any other way to get to the selected object in the collection other than using the combobox' SelectedIndex property? Or to make a long story short (in code):
myCollection[this.myCombobox.SelectedIndex]
Einar


>Yep, just set the collection as the data source. We do this all the time, binding combos to our custom collections that contain business objects.
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform