Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box
Message
De
24/02/2003 12:09:37
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Combo Box
Divers
Thread ID:
00757057
Message ID:
00757057
Vues:
47
Hello all, I created an object that contains a display (string) property and a value (integer) property. Then I created a local array of this object, added values to it and then bound it to a combo box. If I want to change the display of one of the items, how can I do this? The array was local, so it is no longer available. If possible, I would to change the value without making the array global, changing the value there and then rebinding the object. Is it possible to change the display item in the combo without accessing the array? I have tried the following code. Thanks for the help.

strLine = "Blah"
lstData = me.lstRoutes.Items(intIndex)
lstData.DisplayData = strLine
Me.lstRoutes.Items(intIndex) = lstData


I also tried this:
strLine = "Blah"
Me.lstRoutes.Items(intIndex) = strLine
Randy Belcher
AFG Industries, Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform