Skip to content
Loading
  • Jignesh Kumar
    0
    Hi,
     
    You need to pass list with your key and values in selectedList, Please refer this link 
    https://stackoverflow.com/questions/3057873/how-to-write-a-simple-html-dropdownlistfor
     
    1. @Html.DropDownListFor(model => model.Dashboard.CourseLicence, new SelectList("YourListModel","KeyField","ValueField"))  
          
    0