generate a dropdown list from array data using razor .net mvc

133

generate a dropdown list from array data using razor .net mvc -

@Html.DropDownList("myList", ViewBag.myList as SelectList)

Comments

Submit
0 Comments