?
Solved

Double quotes in a string in Label

Posted on 2005-05-08
2
Medium Priority
?
347 Views
Last Modified: 2006-11-18
I have this in code behind for a asp:Label :
lblEng.Text = "Add message. Click Add Engraving above."

but I want it like this:
lblEng.Text = "Add message. Click "Add Engraving" above."

Are there escape characters or something that I can use to get the double quotes ?
0
Comment
Question by:MikeMCSD
2 Comments
 
LVL 12

Accepted Solution

by:
laotzi2000 earned 2000 total points
ID: 13955051
lblEng.Text = "Add message. Click ""Add Engraving"" above."
0
 
LVL 16

Author Comment

by:MikeMCSD
ID: 13955077
that did the trick, thanks.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month12 days, 17 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question