2017-09-24 32 views

回答

1

是的。您可以使用htmlAttributes参数添加属性。

@Html.TextBoxFor(a => a.lastName , new { data_bind="value: lastName"})