传参数的问题
Response.Write( " <script> window.open( 'houseaddPm.aspx?Y1= '+ ' " + a.Trim + " '); </script> ")
我a 是查询数据库的条件比如2=2 and 2=2
当条件中有中文和符号时就出现问题了 比如aa=啊啊 and aa like %d% 时就出现问题了,谁帮忙解决下a
------解决方案--------------------Response.Write( " <script> window.open( 'houseaddPm.aspx?Y1= " + Server.UrlEncode(a) + " '); </script> ")