private static void SelectValidHourEntries(DataAccessLayer.ValidHourEntry objVHE) { Console.WriteLine("Current Data in Projects"); foreach (DataAccessLayer.ValidHourEntry Row in objVHE.SelValidHourEntries()) { Console.WriteLine(" TimePeriodID:{0}\n TimePeriod:{1}\n", Row.TimePeriodID, Row.TimePeriod); } Console.WriteLine("---------------------------"); }