private void DoSetPossibleCopay() { MicroBSC.BSC.Biz.Biz_Bsc_Stg_Info objBSC = new MicroBSC.BSC.Biz.Biz_Bsc_Stg_Info(); DataTable dt = objBSC.GetAllList(WebUtility.GetIntByValueDropDownList(ddlEstTermInfo2), "", "", "").Tables[0]; this.IPOSSIBLE_COPY = (dt.Rows.Count > 0 ? false : true); }
protected void SetStgGrid() { //if (TypeUtility.GetNumString(PageUtility.GetByValueDropDownList(ddlEstTermInfo)) == "") //{ // PageUtility.AlertMessage("평가기간을 알 수 없습니다!"); // return; //} MicroBSC.BSC.Biz.Biz_Bsc_Stg_Info objBSC = new MicroBSC.BSC.Biz.Biz_Bsc_Stg_Info(); objBSC.Iestterm_ref_id = Convert.ToInt32(PageUtility.GetByValueDropDownList(ddlEstTermInfo)); objBSC.Istg_code = txtKPICode.Text; objBSC.Istg_name = txtKPIName.Text; objBSC.Iuse_yn = PageUtility.GetByValueDropDownList(ddlUseYn); //DataSet rDs = objBSC.GetAllList(objBSC.Iestterm_ref_id, objBSC.Istg_code, objBSC.Istg_name, objBSC.Iuse_yn); DataSet rDs = objBSC.GetAllList(objBSC.Istg_code, objBSC.Istg_name, objBSC.Iuse_yn, PageUtility.GetByValueDropDownList(ddlStgViewInfo)); ugrdStgList.Clear(); if (rDs.Tables.Count > 0) { ugrdStgList.DataSource = rDs; ugrdStgList.DataBind(); } }