【发布时间】:2014-04-28 19:09:00
【问题描述】:
如何向这个助手添加行:
@Html.TextAreaFor(x => Model.xxx[i].xxx, htmlAttributes: new { @class = "form-control" })
好像默认是2行,我想加进去。
【问题讨论】:
标签: c# asp.net-mvc
如何向这个助手添加行:
@Html.TextAreaFor(x => Model.xxx[i].xxx, htmlAttributes: new { @class = "form-control" })
好像默认是2行,我想加进去。
【问题讨论】:
标签: c# asp.net-mvc
使用rows属性
new { @class = "form-control", rows = "10" }
用你想要的行数更改10
【讨论】: