开发环境vs2017。想让某些数据上传后不可更改,在edit的页面只显示这个值。
@Html.TextBoxFor(model => model.Name, new { disabled = "disabled " })