/// <summary> /// account group combo fill function /// </summary> public void cmbComboFill() { try { AccountLedgerSP spAccountLedger = new AccountLedgerSP(); DataTable dtblAccountLedger = new DataTable(); dtblAccountLedger = spAccountLedger.MultipleAccountLedgerComboFill(); cmbAccountGroup.DataSource = dtblAccountLedger; cmbAccountGroup.ValueMember = "accountGroupId"; cmbAccountGroup.DisplayMember = "accountGroupName"; } catch (Exception ex) { MessageBox.Show("MAL1:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }