//Save the value in ViewState object before the PostBack
ViewState["SomeVar"] = txtFirstName.text;
//Retrieve the value from ViewState object after the PostBack
String strFirstName = ViewState["SomeVar"].ToString();
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment