第一个参数不是复选框值,而是复选框的视图模型绑定,因此: @Html.CheckBoxFor(m => m.SomeBooleanProperty, new { @checked = "checked" });.
確定! 回上一頁