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

130

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

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

Comments

Submit
0 Comments