有人问有关添加属性(特别是“行”和“列数”)的问题。如果您使用的是Razor,则可以执行以下操作: @Html.TextAreaFor(model => model.Text, new { cols = 35, @rows = 3 }).
確定! 回上一頁