redirect to new page when i click on Cancel button in C# (webpart)

后端 未结 3 1703
庸人自扰
庸人自扰 2021-01-26 18:34
// Cancel button
            tc = new TableCell();
            btnCancel = new Button();
            btnCancel.Text = \"Cancel\";
            btnCancel.Click += new Even         


        
3条回答
  •  无人及你
    2021-01-26 19:11

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

提交回复
热议问题