/// <summary> /// Function to fill Pricinglevel combo box /// </summary> public void PricingLevelComboFill() { try { AccountLedgerBll bllAccountLedger = new AccountLedgerBll(); List<DataTable> ListObj = new List<DataTable>(); ListObj = bllAccountLedger.cmbPricingLevelInCustomer(); cmbPricingLevel.DataSource = ListObj[0]; cmbPricingLevel.ValueMember = "pricinglevelId"; cmbPricingLevel.DisplayMember = "pricinglevelName"; } catch (Exception ex) { MessageBox.Show("Cus3:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }