/// <summary> /// /// </summary> /// <param name="bFirst"></param> /// <returns></returns> public bool KPISetReload() { try { return(KPI_SystemDal.GetKPIReload()); } catch (Exception ex) { LogUtil.LogMessage(ex.ToString()); return(false); } }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { rbnKPIAuto.SelectedValue = KPI_SystemDal.GetKPIAuto().ToString(); rbnKPITimeMode.SelectedValue = KPI_SystemDal.GetKPITimeMode().ToString(); tbxKPIOffset.Text = KPI_SystemDal.GetKPIOffset().ToString(); rbnKPIReload.SelectedValue = KPI_SystemDal.GetKPIReload()?"1" :"0"; BindGrid(); } }