/// <summary>
 /// Function to fill Cash/Bank combobox
 /// </summary>
 public void LedgerComboFill()
 {
     try
     {
         List <DataTable>           listObj = new List <DataTable>();
         TransactionsGeneralFillBll obj     = new TransactionsGeneralFillBll();
         listObj = obj.BankOrCashComboFill(false);
         DataRow dr = listObj[0].NewRow();
         dr[0] = "All";
         dr[1] = 0;
         listObj[0].Rows.InsertAt(dr, 0);
         cmbAccountLedger.DataSource    = listObj[0];
         cmbAccountLedger.DisplayMember = "ledgerName";
         cmbAccountLedger.ValueMember   = "ledgerId";
     }
     catch (Exception ex)
     {
         MessageBox.Show("PREG2:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }