Exemple #1
0
 /// <summary>
 /// function to fill all pricing level on the datagridview
 /// </summary>
 public void Gridfill()
 {
     try
     {
         DataTable      dtblPricingLevel = new DataTable();
         PricingLevelSP spPricingLevel   = new PricingLevelSP();
         dtblPricingLevel           = spPricingLevel.PricingLevelOnlyViewAll();
         dgvPricingLevel.DataSource = dtblPricingLevel;
     }
     catch (Exception ex)
     {
         MessageBox.Show("PL4" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Exemple #2
0
 /// <summary>
 /// function to fill all pricing level on the datagridview
 /// </summary>
 public void Gridfill()
 {
     try
     {
         DataTable      dtblPricingLevel = new DataTable();
         PricingLevelSP spPricingLevel   = new PricingLevelSP();
         dtblPricingLevel           = spPricingLevel.PricingLevelOnlyViewAll();
         dgvPricingLevel.DataSource = dtblPricingLevel;
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "PL4" + ex.Message;
     }
 }
 /// <summary>
 /// function to fill all pricing level on the datagridview
 /// </summary>
 public void Gridfill()
 {
     try
     {
         DataTable dtblPricingLevel = new DataTable();
         PricingLevelSP spPricingLevel = new PricingLevelSP();
         dtblPricingLevel = spPricingLevel.PricingLevelOnlyViewAll();
         dgvPricingLevel.DataSource = dtblPricingLevel;
     }
     catch (Exception ex)
     {
         MessageBox.Show("PL4" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }