/// <summary> /// 최초결재선지정 /// </summary> public void SetDraftLine() { //Biz_Com_Approval_Line_Base objBase = new Biz_Com_Approval_Line_Base(); //DataSet dtBase = objBase.GetBaseAppLine(this.IBiz_Type, this.IDraftEmpID); Biz_Com_Approval_Info bizComApp = new Biz_Com_Approval_Info(); DataTable dtAppLine = bizComApp.GetFullAppLine(this.IBiz_Type, this.IDraftEmpID); this.IORIGINAL_LINE = ""; ugrdAppLine.Clear(); ugrdAppLine.DataSource = dtAppLine; ugrdAppLine.DataBind(); int iRow = ugrdAppLine.Rows.Count; for (int i = 0; i < iRow; i++) { //ugrdAppLine.Rows[i].Cells.FromKey("DEFAULT_YN").Value = "N"; ugrdAppLine.Rows[i].Cells.FromKey("LINE_TYPE").AllowEditing = AllowEditing.No; if (ugrdAppLine.Rows[i].Cells.FromKey("DEFAULT_YN").Value.ToString() == "Y") { ugrdAppLine.Rows[i].Cells.FromKey("LINE_TYPE").Style.BackColor = Color.WhiteSmoke; } //{ //ugrdAppLine.Rows[i].Cells.FromKey("DEFAULT_YN").Value = "Y"; //} ugrdAppLine.Rows[i].Cells.FromKey("COMPLETE_YN").Value = "N"; ugrdAppLine.Rows[i].Cells.FromKey("TXR_DATE").Value = "/"; this.IORIGINAL_LINE += ugrdAppLine.Rows[i].Cells.FromKey("EMP_REF_ID").Value.ToString() + ";"; } }
private void DoSetOriginalLine() { Biz_Com_Approval_Info bizComApp = new Biz_Com_Approval_Info(); string strBizType = string.Empty; if (this.IBiz_Type == Biz_Type.biz_type_kpi_docbatch) { strBizType = Biz_Type.biz_type_kpi_doc; } else if (this.IBiz_Type == Biz_Type.biz_type_kpi_rstbatch) { strBizType = Biz_Type.biz_type_kpi_rst; } else if (this.IBiz_Type == Biz_Type.biz_type_target_resultbatch) { strBizType = Biz_Type.biz_type_target_result; } DataTable dtAppLine = bizComApp.GetFullAppLine(strBizType, this.IDraftEmpID); this.IORIGINAL_LINE = ""; foreach (DataRow dr in dtAppLine.Rows) { this.IORIGINAL_LINE += dr["EMP_REF_ID"].ToString() + ";"; } }
private void DoSetOriginalLine() { Biz_Com_Approval_Info bizComApp = new Biz_Com_Approval_Info(); DataTable dtAppLine = bizComApp.GetFullAppLine(this.IBiz_Type, this.IDraftEmpID); this.IORIGINAL_LINE = ""; foreach (DataRow dr in dtAppLine.Rows) { this.IORIGINAL_LINE += dr["EMP_REF_ID"].ToString() + ";"; } }