Avatar of PAR6
PAR6
 asked on

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

Avatar of undefined
Last Comment
PAR6

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
GreymanMSC

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

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