@Html.DropDownListFor(model => model.ZipFile,new SelectList(ViewBag.ZipFiles))
解决方法
通过使用
proper DropDownListFor overload:
@Html.DropDownListFor( model => model.ZipFile,new SelectList(ViewBag.ZipFiles),"-- please select a zip file --" )