标签: asp.net-mvc
我无法从@Html.TextAreaFor(x=>Model.name,new{Value ="",@class="test"})
@Html.TextAreaFor(x=>Model.name,new{Value ="",@class="test"})
Model.Name值显示在textarea中。如何创建空文本区?
我还尝试了@Html.TextAreaFor(x = >Model.name,new{ @Value="", @class="test" })和@Html.TextAreaFor(x => Model.name, new{ @Text="", class="test" })
@Html.TextAreaFor(x = >Model.name,new{ @Value="", @class="test" })
@Html.TextAreaFor(x => Model.name, new{ @Text="", class="test" })