In ButtonToBindclickevent
- System.Web.HttpContext.Current.Session ("BindUnbind") = "b"
- response.redirect ("Моя страница".aspx ")
In ButtonToUnBindclickevent
- System.Web.HttpContext.Current.Session (" BindUnbind ") =" u "
- response.redirect ("Mypage.aspx")
* в загрузке страницы *
, если System.Web.HttpContext.Current.Session ("BindUnbind") = "b "затем
elseif System.Web.HttpContext.Current.Session (" BindUnbind ") =" u "затем
endif
System.Web.HttpContext.Current.Session ("BindUnbind") = "" *