标签: c# asp.net-mvc
我希望在数据库行上运行循环,以便在我启动网站时比较当前日期和结束日期。
这可能吗?
crowdfundingEntities4 dc = new crowdfundingEntities4(); Table p =dc.Tables.Where(model => model.status.Equals("clear"));
我的Index行动:
Index
public ActionResult Index() { return View(); }