예제 #1
0
 /// <summary>
 /// Function to fill Datagridview
 /// </summary>
 public void CompanyGridFill()
 {
     try
     {
         DataTable dtbl      = new DataTable();
         CompanySP spComapny = new CompanySP();
         dtbl = spComapny.CompanyViewAllForSelectCompany();
         dgvSelectCompany.DataSource = dtbl;
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "SELCMPNY : 1" + ex.Message;
     }
 }
예제 #2
0
 /// <summary>
 /// Function to fill Datagridview
 /// </summary>
 public void CompanyGridFill()
 {
     try
     {
         DataTable dtbl      = new DataTable();
         CompanySP spComapny = new CompanySP();
         dtbl = spComapny.CompanyViewAllForSelectCompany();
         dgvSelectCompany.DataSource = dtbl;
     }
     catch (Exception ex)
     {
         MessageBox.Show("SELCMPNY : 1" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
예제 #3
0
 /// <summary>
 /// Function to fill Datagridview
 /// </summary>
 public void CompanyGridFill()
 {
     try
     {
         DataTable dtbl = new DataTable();
         CompanySP spComapny = new CompanySP();
         dtbl = spComapny.CompanyViewAllForSelectCompany();
         dgvSelectCompany.DataSource = dtbl;
     }
     catch (Exception ex)
     {
         MessageBox.Show("SELCMPNY : 1" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }