Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DropDownList
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Titre:
Divers
Thread ID:
00903782
Message ID:
00904119
Vues:
18
>Please see my answer for Add a listbox to a grid in AP.net thread, added today.
>
>Vlad

Vlad,

That was a nice post, but in my case it wasn't what I needed.
I think my mentioning that have a DataGrid and a DropDownList was a little mis-leading. In my case the DropDownList is not a part of the DataGrid.
I just need to synchronize the two controls.

For example:
From the DataGrid I get a user's name ("Betty").
I want to go into the User_Name DropDownList (ddlUser_Name.SelectedText.Text is User_Name and ddlUser_Name.SelectedValue is User_ID) and position myself on the item for "Betty", so I can look at the ddlUser_Name.SelectedValue and see that Betty's User_ID is 5.

So the question is, how do I find "Betty" in my DropDownList?

Thanks,
Rick
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform