How to launch another aspx web page upon button click?

后端 未结 5 1841
醉梦人生
醉梦人生 2020-12-09 18:45

I have an asp.net application, where the user would click a button and launch another page (within the same application). The issue I am facing is that the original page an

5条回答
  •  无人及你
    2020-12-09 19:30

    You should use:

    protected void btn1_Click(object sender, EventArgs e)
    {
        Response.Redirect("otherpage.aspx");
    }
    

提交回复
热议问题