[Solution found!] 那不是正确的语法第一个参数不是复选框的值,而是视图的模型绑定,因此: @Html.CheckBoxFor(m => m.SomeBooleanProperty, new { @checked ...
確定! 回上一頁