(转)MVC下拉框Html.DropDownList 和DropDownListFor 的常用方法

转自:/shenbing/p/5390713.html 一、非强类型:Controller:ViewData["AreId"] = from a in Table select new SelectListItem { Text=a.AreaName,
posted @ 2019-10-23 10:32  凡的世界  阅读(200)  评论(0编辑  收藏  举报