public static void ViewData(string tableName) { try { Console.Write("\n*** " + tableName.ToUpper() + " ***\n"); Console.Write(db.GetTableList(tableName)); Console.Write("****************\n\n"); } catch (Exception) { Console.WriteLine("\n*** PROBLEM WITH THE DATA ***\n\n"); } }