没有任何提示,如果按照Response.Redirect("show.aspx?ch1=value1&ch2=value2&ch3=value3");
这样写,我在目标页面用response.write查看一下接受ch1变量的值,发现就是value1,而不是value1的值。
这样写,当然是value1了,value1这里只是个字符串,不表示变量,使用ch1="+value1+"试试!
实验过了 在VS2017中 可以使用。
Response.Redirect("login.aspx?name="+Session["StudentName"]+"&"+"id="+Session["StudentId"]+"&"+"password="+Session["StudentPassword"]);