First I create a page with a textbox and a button; when the button is clicked, it redirects to another page.
This is the code for the redirected page:
protected void Page_Load(object sender, EventArgs e)
{
    if (Page.PreviousPage != null)
    {
        TextBox SourceTextBox =
            (TextBox)Page.PreviousPage.FindControl("TextBox");
        if (SourceTextBox != null)
        {
            form1.InnerHtml = SourceTextBox.Text;
        }
    }
}
Now, I've what is written in the text box is displayed but the changes in the form aren't permanent. When I close the page then I open it again, it doesn't display what I have written before.
Is there any way to make the changes in the form permanent when I use .innerHtml?
 
     
    