Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以使用下面的代码来获取复选框,但复选框的值不会改变。知道为什么会这样
@Html.EditorFor(model => model.IsActive)
而不是编辑器使用这个
@Html.CheckBoxFor