Tuesday, 15 March 2011

ViewState, Session, Hidden Form Fields, and QueryString for state management ASP.NET -


I am learning asp.net and c # and I have some questions because reading msdn page was confusing.

I should know when and how to use the viewstat, session, hidden form field and quizstring for state management.

viewstate:

If you only assign objects If you want to live for the life cycle of the current page, then a viewstation is right.

Session State:

For the data that a user needs to remain on multiple pages for the entire session,

Hidden form fields:

Hidden fields can be used to store data, which are several post backs Have to stay in, when your viewerast is disabled

Use with Javascript (because it is a plain text)

/ P>

Question paper:

Pass, which is not confidential

More information:


No comments:

Post a Comment