generate a dropdown list from array data using razor .net mvc
@Html.DropDownList("myList", ViewBag.myList as SelectList)
Are there any code examples left?
New code examples in category C#
@Html.DropDownList("myList", ViewBag.myList as SelectList)