那就用表单传值
在b.aspx的后台写 Request.From.Get("")来取值

解决方案 »

  1.   

    get 方式传参数是明文的,用post方式就不会了, 如楼上所说
      

  2.   

    使用 post 提交方式// a.html
    <form id=form1 method=post action=b.aspx>
    <input type=text name=txtA value=hello />
    <input type=submit value=submit />// b.aspx.cs
    string msg = Request.Form["txtA"];
    Response.Write(msg);
      

  3.   

    为何我Request.QueryString[“”]取不值呢?
      

  4.   

    为何我Request.QueryString[“”]取不值呢?
    =============
    1。
    那是 Get 方式的2。
    LZ 我很郁闷耶
      

  5.   

    Request[""]是 无论get  还是 post  都能访问到Request.QueryString[""]  只取get方式过来的  Request.Form[""]只取post方式过来的
      

  6.   

    string a="aa";
            string b="bb";
            string c="cc";
            Server.Transfer("Test_Transfer_print.aspx?a=" + a + "&&b=" + b + "&&c=" + c + "");
    然后在"Test_transfer_print.aspx"中使用Requst["a"].ToString()接受,这样就不会是明码.