2012-05-22 69 views

回答

0

从像

enteries.Where(a => a.startdate < FirstDate && a => a.enddate < SecondDate ).ToList() 

,然后这两个日期之间的条目您控制器返回列表通过这些条目DropDownListFor像

@Html.DropDownListFor(model => model.entryID, 
    new SelectList(model.entries, "ID", "Title")) 
相关问题