private void InitControlValue() { WebCommon.SetEstTermDropDownList(ddlEstTermInfo); int intEstTermId = (ddlEstTermInfo.Items.Count > 0) ? int.Parse(ddlEstTermInfo.SelectedValue) : 0; //Biz_EtcCodeInfos objCode = new Biz_EtcCodeInfos(); //objCode.getResultMethod(ddlResultInput, "", true, 80); WebCommon.SetTermMonthDropDownList(ddlMonthInfo, PageUtility.GetIntByValueDropDownList(ddlEstTermInfo)); WebCommon.SetSumTypeDropDownList(ddlSumType, false); //WebCommon.SetSortTypeDropDownList(ddlOrderType, true); //this.SetSignalDropDownList(ddlSignal, true); Biz_Bsc_Stg_Info objStg = new Biz_Bsc_Stg_Info(this.IEstTermRefID, this.IStgRefID); lblStg_Name.Text = objStg.Istg_name; Biz_Bsc_Map_Info objDept = new Biz_Bsc_Map_Info(this.IEstTermRefID, this.IEstDeptID, this.IYmd); lblEst_Dept_Name.Text = objDept.Iest_dept_name; ugrdResultStatus.Columns.FromKey("CHAMPION_EMP_NAME").Header.Caption = this.GetText("LBL_00001", "KPI담당자"); }
private void LeftTreeBinding(int estterm_ref_id) { TreeView1.Nodes.Clear(); Biz_Bsc_Stg_Info stgInfo = new Biz_Bsc_Stg_Info(); DataSet ds = stgInfo.GetAllList(estterm_ref_id, "", "", "Y"); if (ds.Tables[0].Rows.Count == 0) { return; } TreeViewNode newNode = null; for (int i = 0; i < ds.Tables[0].Rows.Count; i++) { newNode = CreateNode(ds.Tables[0].Rows[i]["STG_REF_ID"].ToString() , ds.Tables[0].Rows[i]["STG_NAME"].ToString() , "../images/tree/folder.gif" , true); TreeView1.Nodes.Add(newNode); } }