Aslam-0-Alaikum
Any one who tell me where i have mistake
public void Page_Load(object sender, EventHandler e)
{
ViewState["name"] = "This is ViewState";
}
protected override void LoadViewState(object savedState)
{
base.LoadViewState(savedState);
TextBox1.Text(string)ViewState["name"];
}
it is not showing the viewstate text in textbox1 why...?