Beispiel #1
0
 public GetCheckInkeyResponse GetCheckInkey(GetCheckInKey objGetKeyRequest)
 {
     try
     {
         AdminDAL objAdminDAL      = new AdminDAL();
         GetCheckInkeyResponse ret = new GetCheckInkeyResponse();
         List <CheckInKeyData> lst = objAdminDAL.GetCheckInkeyData(objGetKeyRequest);
         ret.CheckIn_id = lst;
         return(ret);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #2
0
        private void BindGrid()
        {
            log4net.ILog logger = log4net.LogManager.GetLogger("File");
            try
            {
                AdminBLL              ws    = new AdminBLL();
                GetCheckInKey         _req  = new GetCheckInKey();
                GetCheckInkeyResponse _resp = ws.GetCheckInkey(_req);

                int pageSize = ContextKeys.GRID_PAGE_SIZE;
                gvKeySearch.PageSize   = pageSize;
                gvKeySearch.DataSource = _resp.CheckIn_id;
                gvKeySearch.DataBind();
            }
            catch (Exception ex)
            {
                logger.Info(ex.Message);
            }
        }