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:
01174687
Views:
9
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,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform