The Tech Pursuit
The Dev Shelf
Pages
Home
Interview Questions
About Me
July 12, 2011
How to store and read value in ViewState
ViewState["Blog"] = "Google Blogger";
Now we can read value from ViewState["Blog"] at current page any time.
It's life will be available for current page only.
It will be available after postback.
string blog = ViewState["Blog"].ToString();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment