我的URL如下 http://127.0.0.1/test/test.aspx?sql= and id='300+' Request.QueryString["sql"]后取出的值为and id='300', “+”就消失了,请问这是为什么?应该如何解决呢?
你应该先对url编码 "test.aspx" + Server.UrlEncode(sql)