Get full query string in C# ASP.NET

后端 未结 6 1528
死守一世寂寞
死守一世寂寞 2020-12-29 19:30

As a PHP programmer I\'m used to using $_GET to retrieve the HTTP query string... and if I need the whole string, theres loads of ways to do it.

In ASP however, I c

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-29 20:00

    just a moment ago, i came across with the same issue. and i resolve it in the following manner.

    Response.Redirect("../index.aspx?Name="+this.textName.Text+"&LastName="+this.textlName.Text);
    

    with reference to the this

提交回复
热议问题