private void getConfigDate() { try { var biz = new BLL.ExamScheduleBiz(); var res = biz.ManageApplicantIn_OutRoom().DataResponse; var DayValue = res.FirstOrDefault(x => x.Id == "10" && x.GROUP_CODE == "AP001"); lblDayValue.Text = DayValue.Value.ToString(); } catch { } }
private void BindDataInGridView() { var biz = new BLL.ExamScheduleBiz(); var res = biz.ManageApplicantIn_OutRoom(); if (res.IsError) { UCModalError.ShowMessageError = res.ErrorMsg; UCModalError.ShowModalError(); } else { gvApproveRegis.DataSource = res.DataResponse; gvApproveRegis.DataBind(); } UpdatePanelGrid.Update(); }