0
@Html.DropDownListFor(m=>Model.listItems) I am having the error message
錯誤1無重載方法,它返回
> IEnumerable<SelectListItem> public IEnumerable<SelectListItem> ListItems {
'的函數DropDownListFor' 拍攝1個參數
但是,它工作正常@Html.DropDownList("listItems", Model.listItems)
爲什麼我用@ Html.DropDownListFor來顯示錯誤信息?