mvc文本框编辑问题
@Html.TextBoxFor(model => model.CityCode)如何让它只能显示不能编辑
[解决办法]
Html.TextBox("EndDate","",new{@readonly="true"})
[解决办法]
@Html.Password("UserPwd", Model.UserPwd, new { @disabled="disabled"})