【发布时间】:2021-04-07 11:45:02
【问题描述】:
这是我的文本框
<div class="col-md-10">
@Html.EditorFor(model => model.FirstName, new { htmlAttributes = new { @class = "form-control", @placeholder = "First Name"} })
@Html.ValidationMessageFor(model => model.FirstName, "", new { @class = "text-danger" })
</div>
【问题讨论】:
标签: asp.net-mvc asp.net-core razor