MvcHtmlUtils.SelectListMonths

Returns a select list of months of the year set with 01-12 and a custom format display string (01 - January by default)

public static IEnumerable<SelectListItem> SelectListMonths(string formatString)

Parameters

formatString
Optional format string to format the month string. Based on a Date variable


See also:

Class MvcHtmlUtils

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic