Information générale
Catégorie:
Formulaires Web
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement