2017-09-24 50 views

回答

1

是的。您可以使用htmlAttributes參數添加屬性。

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