gokilavasan m

gokilavasan m

  • NA
  • 51
  • 37.1k

Help regarding button click event

Mar 29 2012 1:24 AM
 
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)