public static List <clsChargedTransaction> GetChargedTransactions(int accountid) { dbConnect con = new dbConnect(); List <clsChargedTransaction> trans = null; try { trans = con.GetChargedTransactions(accountid); } catch { } con.Close(); return(trans); }