Метод | Описание | |
---|---|---|
DropDownListFor ( HtmlHelper, htmlHelper, Expression, expression ) : MvcHtmlString, |
Creates the DropDown List (HTML Select Element) from LINQ Expression where the expression returns an Enum type.
|
Метод | Описание | |
---|---|---|
createSelectList ( Type, enumType, string selectedItem ) : IEnumerable |
Creates the select list.
|
public static DropDownListFor ( HtmlHelper, htmlHelper, Expression, expression ) : MvcHtmlString, | ||
htmlHelper | HtmlHelper, | The HTML helper. |
expression | Expression, | The expression. |
Результат | MvcHtmlString, |