How to access content of one page to another page?
Suppose I have two pages in my application. On the first page I have used a Button named 'Button1'. i want to use that 'Button1' on Second page.
Here i have used this code on second page to find button
protected void Page_Load(object sender, EventArgs e)
{
Button btn = (Button)PreviousPage.FindControl("Button1");
}