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:
01174706
Vues:
9
Kevin,

That is the obvious answer & I tried that, no go.

To clarify:

My template field dropdownlist is bound to a status table with a status code & description. I want to update the gridview table with the status code but display the status description in the grid after updating.

If I may speak VFP/VMP I wish to implement a picklistvalid but not expose the underlying FK's/codes.

Thanks, Ted

>Ted,
>
>>How do I set the field to display different than the bound value field for an ItemTemplate label? Currently text is bound Bind("Sts_status") but I would like to display Sts_Desc?
>>
>>FYI, the template field is in a gridview and the EditItemTemplate is a DropDownlist bound to an objectDataSource.
>
>Maybe I'm missing the point, but can't you just set the label's DataBindings so the Text property of the label is bound to Sts_Desc:
>
>
Bind("Sts_Desc")
>
>Best Regards,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform