/// <summary> /// Function to fill Datagridview for service account /// </summary> public void GridFillForServiceAccounts() { try { List<DataTable> ListObj = new List<DataTable>(); AccountLedgerBll bllAccountledger = new AccountLedgerBll(); if (cmbAccountGroup.Text == "ALL") { cmbAccountGroup.Text = "ALL"; } ListObj = bllAccountledger.LedgerPopupSearchForServiceAccountsUnderIncome(); dgvLedgerPopup.DataSource = ListObj[0]; } catch (Exception ex) { MessageBox.Show("LP2:" + ex.Message, "Open Miracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }