HtmlHelper的扩展类主要包括CheckBoxList,CheckBoxListFor等方法,有了这些方法,你可以这样生成checkBox 列表. @Html.CheckBoxListFor(m=>m.RoleList,"li").
確定! 回上一頁