2
Answers

Help regarding button click event

gokilavasan m

gokilavasan m

12y
1.8k
1
 
hi,

  if i click button means i want exit from the webpage.what can i do.can i write
{
Response .Redirect("exit.aspx");
}
instead of the following coding?

 protected void Button2_Click(object sender, EventArgs e)
    {
        Response.Redirect("Home.aspx");
    }
Answers (2)