Link to home
Start Free TrialLog in
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>

ASKER CERTIFIED SOLUTION
Avatar of GreymanMSC
GreymanMSC

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PAR6
PAR6

ASKER

For the benefit of others:
+ "\" " worked for me in C#


Thanks GreymanMSC