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]; } }
private void SetLoginInfo() { logininfo = (HotelDBApp.Login)Session["LoginInfo"]; }