Information générale
Catégorie:
The Mere Mortals .NET Framework
Kevin,
>Did you do this in your grid?
Yes, an ASP.net gridview.
>To get the dropdownlist's currently selected value to bind, edit the template column's data bindings (by clicking the smart tag on the template column) and in the DataBindings dialog, select the "Custom Binding" option and enter an expression like this:
>
>Bind("NameOfTheColumn")
I assume you are talking about the EditItemTemplate's "SelectedValue" data binding? And the ItemTemplate's "Text" data binding needs set the same?
Thanks, Ted
Précédent
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