Events can occur at 3 levels
1)Application level[Application start]
2)page level[Page Load]
3)control level[selected index of dropdownlist control,button click]
ViewState varible is used to preserve data across page postback.By default viewstate of one webform is not avaliable in other webform.
The following are the techniques that is used to send data from one webform to another webform.
1)cookies
2)Query string
3)Session state-->single user global data. For a given user
4)Application state-->multi user global data. Avaliable across all pages and across all sessions.
Session state variables are avaliable across all the pages,but only for a single session.
1)Application level[Application start]
2)page level[Page Load]
3)control level[selected index of dropdownlist control,button click]
ViewState varible is used to preserve data across page postback.By default viewstate of one webform is not avaliable in other webform.
The following are the techniques that is used to send data from one webform to another webform.
1)cookies
2)Query string
3)Session state-->single user global data. For a given user
4)Application state-->multi user global data. Avaliable across all pages and across all sessions.
Session state variables are avaliable across all the pages,but only for a single session.
No comments:
Post a Comment