special character "

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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\"");
 
Back
Top