Thursday, July 15, 2010

ASP.net redirect to another page

One can use one of the following three commands to redirect in another page. On button click, this command can also be used. 

Response.Redirect("Page1.aspx");

Server.Transfer("Page2.aspx");