public bool AccountGroupIdCheck(string strLedgerName) { bool isSundryCreditOrDebit = false; try { isSundryCreditOrDebit = spAccountLedger.AccountGroupIdCheck(strLedgerName); } catch (Exception ex) { MessageBox.Show("AL22:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } return(isSundryCreditOrDebit); }