我正在使用Intranet网站,特别是针对员工的每周监控工具。我需要的是填补了DropDownList
与周,每周例如:包含星期的DropDownList
Week : From 12/10/15 to 18/10/15
我能够到另一个页面上,但与年和月进行过滤:
CalendarController c = new CalendarController();
ViewBag.ListYears = c.ListYears(iyear);
ViewBag.ListMonths = c.ListMonths(imonth);
ViewBag.ListDaysOfMonth = _service.ListDaysOfMonth(iyear.ToString(), imonth.ToString());
而且使用的形式进行保存。
如何在我的DDList中填入2015年所有星期的列表?