Hey you have to use following code in your project to fix this problem. In following code I save one value in one text file and then I use this value in both pages to display value. I stored null value in "name" session. Just try to understand following program.
Code:
if(!ispostback)
{
somefile.Text = Convert.ToString(Session["name"]);
Session["name"] = null;
}
// For button click you have to write this
Session["name"] = txtFirstname.Text.Trim();
Responses.Redirect(Requests.RawUrl,false);
Responses.Redirects("Qualiftifuicaton.aspx");
Bookmarks