string mm=Server.URLEncode(你);
Response.Redirect(index.aspx?mm=+mm);
然后在接收页解码:
string mm = Server.URLDecode(Requext.querystring(mm));
js:
传参:用encodeURI("url参数")将url编码
收参:用decodeURI("接收到的值")解码
转载:http://blog.csdn.net/qbook/article/details/7528264
string mm=Server.URLEncode(你);
Response.Redirect(index.aspx?mm=+mm);
然后在接收页解码:
string mm = Server.URLDecode(Requext.querystring(mm));
js:
传参:用encodeURI("url参数")将url编码
收参:用decodeURI("接收到的值")解码
转载:http://blog.csdn.net/qbook/article/details/7528264