About
Pricing
Community
Teams
Start Free Trial
Log in
PAR6
asked on
7/22/2008
escape quotation marks within an Eval in asp:Label
How do I escape quotation marks within an Eval?
I am trying to get a quotation mark for representing an item's width in inches to appear red.
<asp:Label ID="lblWidth" runat="server" Text='<%# Eval("width1") %> ' ForeColor="#CC3300">"</asp
:Label>
ASP.NET
2
1
Last Comment
PAR6
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
GreymanMSC
7/22/2008
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
PAR6
7/22/2008
ASKER
For the benefit of others:
+ "\" " worked for me in C#
Thanks GreymanMSC
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
+ "\" " worked for me in C#
Thanks GreymanMSC