Contributor
2195 Points
950 Posts
Feb 22, 2019 10:24 AM|jimmy69|LINK
Hello sentoso,
a dropdown contains everytime a text and an id you need to specify it ..
something like this :
Html.DropDownList("sectorid", new SelectList((IEnumerable) ViewData[" DBSelector "]), " sectorid ", " sectorname")
Contributor
2195 Points
950 Posts
Re: DropDownList not working
Feb 22, 2019 10:24 AM|jimmy69|LINK
Hello sentoso,
a dropdown contains everytime a text and an id you need to specify it ..
something like this :