<ad***********@syscz.com> wrote in message
news:ej****************@TK2MSFTNGP09.phx.gbl...
nono, I need to have few " in one response write.
actually I want to have something like this q = "<!--include file=" +
pageid + ".asp"-->"
but how can I make it?
To escape the double quote, double it up.
For example:
q = "He said ""I am here"""
Response.Write "<div>" & q & "</div>"
This will result in:
<div>He said "I am here"</div>
So in your example:
q = "<!--include file=""" & pageid & ".asp""-->"
Note, if you're trying to include a file dynamically, be advised that this
will not work. Include files are processed *BEFORE* ASP.
Try reading this:
http://www.aspfaq.com/show.asp?id=2042
Regards,
Peter Foti