What is view state and how this can be done and was this
there in asp?
Answer Posted / sudeesh i.g.
view state is state management technique used in ASP.net.
Its visibility is inside a current page. It is like session
state difference is that session for entire project all but
view state is visible for entire page. The data in view
state one page can't access from other page. it clear the
data when unload the page. it take more memory, it is not
suitable with gridview, detailsview, listview controls.
eg:
viewstate["id"]=request.querystring["id"];
or
viewstate["id"]=convert.toint32(gridview.datakeys[index][""].string();
like lot of example
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is bson in web api?
What is difference between session and cookies in asp net?
Can you explain architecture of your project ?
Explain automatic memory management in .net.
What are main return types supported in Web API?
What is asp.net ajax?
What is asp according to you?
How do you store a value in viewstate and retrieve them?
What do you mean by View State and what is its role?
How do u deploy ur project?
Can a .net web application consume java web service?
They mostly asked difference between versions of technologies
What are session state modes?
What is the Intermittent crashing of application in production?
Is session server side or client side?