예제 #1
0
 private void LoadItems()
 {
     logininfo = (HotelDBApp.Login)Session["LoginInfo"];
     if (logininfo != null)
     {
         HdnHotelId.Value = logininfo.HotelId.ToString();
         LoadIncedents();
         LoadUserStatus();
         this.Master.HotelName = logininfo.HotelName;
         this.Master.UserName  = logininfo.UserName.Split('@')[0];
     }
 }
예제 #2
0
 private void SetLoginInfo()
 {
     logininfo = (HotelDBApp.Login)Session["LoginInfo"];
 }