/// <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); } }
/// <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; } }