Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add quotation marks to a web page

Status
Not open for further replies.

seabaz2000

IS-IT--Management
Feb 24, 2006
79
IE
Hi,
Just a quick question, if I want to add quotation marks to a piece of text as is below. How do I do it.

Code:
<asp:literal runat="server" text="Blah , Blah, "Blah" "/>

OUTPUT

Blah, Blah, "Blah"

Regards
 
did you try this:

<asp:literal runat="server" text="Blah , Blah, ""Blah"" "/>

-DNG
 
yeah I did
I just went for a single apostrophe and that seemed to work
Code:
<asp:literal runat="server" text='Blah , Blah, "Blah" '/>
[\code]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top