Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Databinding to a dropdown list in a grid not working
Message
 
À
17/11/2006 23:53:08
Bill Oeftering
Mainstreet Computers, Inc.
Belleville, Michigan, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01170921
Message ID:
01171330
Vues:
14
Bill,

>I have a dropdownlist in a grid in an edititemtemplate. Edits always update the first row no matter which row that you're on. Textbox fields work properly.
>The field that I'm working with is cmunit in table pricedet, bizobj=Pricedet.
>Here's what have set on the dropdown:
>BindingSource=Pricedet
>BindingValueSource=Pricedet
>BindingValueSouceMember=cmunit
>CustomBinding Code Expression: Bind("cmunit")
>I load the list in the init with a datatable but I've tried hard coding list and the results are the same.

This is a web application? Are you using the GridView control? Are you saying that no matter which item in the combo box you select, it always stores the first item anyway?

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform