Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TemplateField Label Binding/Display
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01174631
Message ID:
01174706
Views:
8
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,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform