/// <summary> /// Function to use the Tax Combo Fill /// </summary> public void ComboTaxFill() { try { TaxSP spTax = new TaxSP(); DataTable dtbl = new DataTable(); dtbl = spTax.TaxViewByProductIdApplicableForProduct(decProductId); cmbTax.DataSource = dtbl; cmbTax.ValueMember = "taxId"; cmbTax.DisplayMember = "taxName"; } catch (Exception ex) { MessageBox.Show("POS:18" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }