摘要: 编写自定义模板,以单选按钮为例 1.在Shared新建模板视图(文件夹名必须为EditorTemplates) 2.编写模板代码 @model bool <table> <tr> <td>@Html.RadioButton("sex", true, Model)男</td> <td>@Html.Ra 阅读全文
posted @ 2018-10-25 22:28 随波追逐 阅读(296) 评论(0) 推荐(0) 编辑