I have datetime range:
var _checkInYear = (from d in db.bookings select d.checkinyear).ToList();
var _checkInMonth = (from d in db.bookings select d.checkinmonth).ToList();
var _checkInDay = (from d in db.bookings select d.checkinday).ToList();
var _checkOutYear = (from d in db.bookings select d.checkoutyear).ToList();
var _checkOutMonth = (from d in db.bookings select d.checkoutmonth).ToList();
var _checkOutDay = (from d in db.bookings select d.checkoutday).ToList();
How can I get DateTime list from this range? For example if check in time is 20/08/2011 and check out 23/08/2011 need to put into list date time into this range.
20/08/2011, 21/08/2011, 22/08/2011, 23/08/2011.
Example: http://www.ideone.com/BxmkF