Asp.Net MVC Razor BootStrap Input Form

前端 未结 2 2229
野性不改
野性不改 2021-02-20 15:40

Currently I have an Input form like this:

@Html.LabelFor(model => model.VenueID)
2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-20 16:06

    @Html.LabelFor(model => model.VenueID, new { @class = "sr-only", @for = "txtVenueID" }) @Html.TextBoxFor(model => model.VenueID, new { @class = "form-control", @placeholder = "ID:" , @id="txtVenueID" }) @Html.ValidationMessageFor(model => model.VenueID)

提交回复
热议问题