0
如何將模型和查看日期傳遞給PartialView?如何將模型和查看日期傳遞給PartialView?
我的代碼,但顯示錯誤:
<%Html.RenderPartial("~/Views/Location/location.ascx", new MVCLocation.Models.LocationModel(), (IEnumerable<SelectListItem>)ViewData["unit"]); %>