private static void SelectEmployeeProjectHours(DataAccessLayer.EmployeeProjectHour objEPH) { Console.WriteLine("Current Data in Projects"); foreach (DataAccessLayer.EmployeeProjectHour Row in objEPH.SelEmployeeProjectHour()) { Console.WriteLine(" EmployeeID:{0}\n EmployeeName:{1}\n ProjectID:{2}\n ProjectName:{3}\n Date:{4}\n Hours:{5} \n", Row.EmployeeID, Row.EmployeeName, Row.ProjectID , Row.ProjectName, Row.Date, Row.Hours ); } Console.WriteLine("---------------------------"); }