I've been trying to get a list of records in a table where the column scheduledate > today(current date + time)
var billPays = from s in db.BillPays.SqlQuery("SELECT * FROM BillPay WHERE " + 1 + " = Active AND " + DateTime.Now + " > ScheduleDate").ToList()
select new BillPayModel
{
//model
};
return View(billPays);
unfortunately this is not returning anything. Can some one help?