Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TemplateField Label Binding/Display
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01174631
Message ID:
01176730
Vues:
10
Ted,

>>In this scenario, you need to have the DataTable bound to your GridView return both the code and the description from the back end (by means of a join). That way the ItemTemplate label can bind to the description text rather than the code. This will require you to update the description when a user selects an item from the DropDownList.

You could do this in the RowUpdating event.

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
Répondre
Fil
Voir

Click here to load this message in the networking platform