Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Databinding to a dropdown list in a grid not working
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01170921
Message ID:
01171858
Vues:
11
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
Fil
Voir

Click here to load this message in the networking platform