如何通过查询字符串从一个asp.net页面传递值到另一个asp.net网页。这意味着test1.aspx和test2.aspx是两个网页。
在test1.aspx中,我有字符串值,
如果我像这样使用:
在test1.aspx中,我有字符串值,
string abc="stackoverflow";
如果我像这样使用:
Request.Redirect("test2.aspx?numbers=" + abc);,它将不起作用。如果我像这样使用,我将无法在test2.aspx页面中获取abc的值。
请注意,此处保留了HTML标记。how to get this abc values into the test2.aspx?