special character "

G

Guest

In vb.net response.write ("""haha""") this will return a "haha
In c# the same code will return an error

How do I correct the error in c#

Actually, I have a stringbuilder and appending the

<a href='#' onclick="window.open('/yaya/sali.aspx?images1/a1.jpg', 'garbage', 'width=800,height=600,top=100,toolbar=0,menubar=0,scrollbar=1,resizable=0')"><img src='/fala/imgd/a1.jpg' width=80px height=80px></a

Please help

Thanks

Ra
 
T

Tom Shelton

In vb.net response.write ("""haha""") this will return a "haha"
In c# the same code will return an error.

How do I correct the error in c#?


Actually, I have a stringbuilder and appending the

<a href='#' onclick="window.open('/yaya/sali.aspx?images1/a1.jpg', 'garbage', 'width=800,height=600,top=100,toolbar=0,menubar=0,scrollbar=1,resizable=0')"><img src='/fala/imgd/a1.jpg' width=80px height=80px></a>

Please help?


Thanks.

Ray


In c#... Response.Write("\"haha\"");
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top