asp.net-mvc – SelectListItem中的Selected属性永远不会起作用(DropDownList

我在选择DropDownList的值时遇到问题.我一直在阅读所有类似的帖子,我无法得到解决方案. 实际的方法对我来说似乎非常好,因为我可以检查SelectList中的字段: var selectList = new ListSelectListItem( from variable in someKindOfCollection select new Sele

返回顶部