How do I redirect from one ASP.NET page to another (\"Webform2.aspx\") by means of a button?
set PostBackUrl property of button, like this :
button1.PostBackUrl= "Webform2.aspx";