日期:2014-05-17  浏览次数:21311 次

response.Write("<b><font color=red><a href=?menu='"rs("Product_Id")"'&page="&h&">"&h&"</a></font></b> ")
response.Write( " <b> <font   color=red> <a   href=?menu= ' "rs( "Product_Id ") " '&page= "&h& "> "&h& " </a> </font> </b>   ")
那里错误需要怎么改
急用!

------解决方案--------------------
response.Write( " <b> <font color=red> <a href=?menu= ' " & rs( "Product_Id ") & " '&page= " & h & "> " & h & " </a> </font> </b> ")

尤其h &不能连在一起

------解决方案--------------------
地址栏里传参不用加引号

response.Write ( " <b> <font color=red> <a href= " "?menu= " & rs( "Product_Id ") & "&page= " & h & " " "> " & h & " </a> </font> </b> ")
------解决方案--------------------
对,主要是少个&,如果采用孟子的建议,将变量跟&分开的话,那会更好
顺便说下,如果Response.Write后不用括号的话,一定要打上个空格,不然也会报错。
如Response.Write "hello "
------解决方案--------------------
response.Write( " <b> <font color=red> <a href= " "?menu= "&rs( "Product_Id ")& "&page= "&h& " " "> "&h& " </a> </font> </b> ")