Knowledge Walls
Gopal Rao
Mumbai, Maharashtra, India
Passcode:
How to redirect to another page in asp.net on button click
91698 Views
Introduction
Write redirecting syntax inside the button click event
Response.Redirect("PageName");
Example
	 protected void Login_Click(object sender, EventArgs e)//login button event
	       {
	               Response.Redirect("userHome.aspx");//When u click login button the page redirect to userHome.aspx
	       }
Best Lessons of "Asp.net/Ado.net/C#.net(Dotnet)"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details