Gets a select list of years.
public static IEnumerable<SelectListItem> SelectListYears(int numberOfYears, int startYear)
Parameters
numberOfYears
Number of years to display
startYear
Year to start. If 0 starts current year
See also:
Class MvcHtmlUtils© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic