//===================================: 사업공유정보 조회 private void SetShareGrid() { Biz_Prj_Share objPrjShare = new Biz_Prj_Share(); grdProjectShareList.DataSource = objPrjShare.GetAllList(this.IPrjRefID, 0).Tables[0].DefaultView; grdProjectShareList.DataBind(); }
private void SetFormData() { Biz_Prj_Info objPrj = new Biz_Prj_Info(this.IPrjRefID); Biz_Prj_Resource prjResource = new Biz_Prj_Resource(); Biz_Prj_Share objPrjShare = new Biz_Prj_Share(); Biz_Prj_Schedule objSchedule = new Biz_Prj_Schedule(); DataSet actualDs = objSchedule.GetActualDate(this.IPrjRefID); this.IApp_Ref_Id = objPrj.IApp_Ref_Id; txtPRJ_CODE.Text = objPrj.IPrj_Code; txtPRJ_NAME.Text = objPrj.IPrj_Name; txtDEFINITION.Text = objPrj.IDefinition; txtEFFECTIVENESS.Text = objPrj.IEffectiveness; txtRANGE.Text = objPrj.IRange; txtOWNER_EMP_ID.Text = objPrj.IOwner_Emp_Name; hdfOWNER_EMP_ID.Value = objPrj.IOwner_Emp_Id.ToString(); this.IDraftEmpID = objPrj.IOwner_Emp_Id; txtREF_STG.Text = objPrj.IRef_Stg; txtREQUEST_DEPT.Text = objPrj.IRequest_Dept; txtTotalBudget.Text = objPrj.ITotal_Budget.ToString("###,##0"); txtINTERESTED_PARTIES.Text = objPrj.IInterested_Parties; WebUtility.FindByValueDropDownList(ddlOwnerDeptID, objPrj.IOwner_Dept_Id); WebUtility.FindByValueDropDownList(ddlPRIORITY, objPrj.IPriority); WebUtility.FindByValueDropDownList(ddlPrjType, objPrj.IPrj_Type); wdcPlanStartDate.Value = objPrj.IPlan_Start_Date; wdcPlanEndDate.Value = objPrj.IPlan_End_Date; wdcActualStartDate.Value = actualDs.Tables[0].Rows[0]["ACTUAL_START_DATE"]; wdcActualEndDate.Value = actualDs.Tables[0].Rows[0]["ACTUAL_END_DATE"]; DataSet dsPSH = objPrjShare.GetAllList(this.IPrjRefID, 0); if (dsPSH.Tables.Count > 0) { dsPSH.Tables[0].DefaultView.Sort = "CREATE_DATE ASC"; ugrdProjectShareList.Clear(); ugrdProjectShareList.DataSource = dsPSH.Tables[0].DefaultView; ugrdProjectShareList.DataBind(); } else { ugrdProjectShareList.Clear(); } ugrdResourceList.Clear(); ugrdResourceList.DataSource = prjResource.GetAllList(this.IPrjRefID, 0); ugrdResourceList.DataBind(); }