private void DoBindingDraftAppEmp(int emp_ref_id) { ugrdDraftEmp.Clear(); ugrdSignerEmp.Clear(); foreach (UltraGridRow gr in ugrdEmpList.Rows) { if (gr.Cells.FromKey("EMP_REF_ID").Value.ToString() == emp_ref_id.ToString()) { UltraGridRow insertGR = new UltraGridRow(); ugrdDraftEmp.Rows.Insert(ugrdDraftEmp.Rows.Count, insertGR); insertGR.Cells.FromKey("COM_DEPT_NAME").Value = gr.Cells.FromKey("DEPT_NAME").Value; insertGR.Cells.FromKey("EMP_NAME").Value = gr.Cells.FromKey("EMP_NAME").Value; insertGR.Cells.FromKey("POSITION_CLASS_NAME").Value = gr.Cells.FromKey("POSITION_CLASS_NAME").Value; insertGR.Cells.FromKey("EMP_REF_ID").Value = gr.Cells.FromKey("EMP_REF_ID").Value; Biz_Com_Approval_Info bizComApp = new Biz_Com_Approval_Info(); DataTable dtApp = bizComApp.GetApprovalEmpByOne(this.IBIZ_TYPE, emp_ref_id); ugrdSignerEmp.DataSource = dtApp; ugrdSignerEmp.DataBind(); break; } } }