@Html.TextBoxFor(m => m.Foo, new { @class = "foo" }). Would result in generated HTML similar to: <input type="text" id="Foo" name="Foo" ...
確定! 回上一頁