/// <summary> /// Function to fill Currency combobox /// </summary> public void CurrencyComboFill() { try { DataTable dtblCurrency = new DataTable(); CurrencySP spCurrency = new CurrencySP(); dtblCurrency = spCurrency.CurrencyViewAllForExchangeRateCombo(); cmbCurrency.DataSource = dtblCurrency; cmbCurrency.ValueMember = "currencyId"; cmbCurrency.DisplayMember = "currencyName"; } catch (Exception ex) { formMDI.infoError.ErrorString = "ER5:" + ex.Message; } }
/// <summary> /// Function to fill Currency combobox /// </summary> public void CurrencyComboFill() { try { DataTable dtblCurrency = new DataTable(); CurrencySP spCurrency = new CurrencySP(); dtblCurrency = spCurrency.CurrencyViewAllForExchangeRateCombo(); cmbCurrency.DataSource = dtblCurrency; cmbCurrency.ValueMember = "currencyId"; cmbCurrency.DisplayMember = "currencyName"; } catch (Exception ex) { MessageBox.Show("ER5:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to fill Currency combobox /// </summary> public void CurrencyComboFill() { try { DataTable dtblCurrency = new DataTable(); CurrencySP spCurrency = new CurrencySP(); dtblCurrency = spCurrency.CurrencyViewAllForExchangeRateCombo(); cmbCurrency.DataSource = dtblCurrency; cmbCurrency.ValueMember = "currencyId"; cmbCurrency.DisplayMember = "currencyName"; } catch (Exception ex) { MessageBox.Show("ER5:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }