heisetoufa 发表于 2013-2-5 00:56:42

asp.net 取到url中?后参数的值的方法

获取url中?后参数的值的方法

Response.Redirect("../yhcz/bjyh.aspx?a=123b");
string a;
a = Request.QueryString["a"]; Response.Write(a);//输出的值是123b

黑色头发:http://heisetoufa.iteye.com/
页: [1]
查看完整版本: asp.net 取到url中?后参数的值的方法