MVC 给@Html.TextBox 添加属性和样式

1.添加属性:@Html.TextBox("CnAddressmodify","", new { maxlength="90" })

2.添加样式:@Html.TextBox("EnAddressmodify","",new {@class="EnAddressmodify",style="width:86px;"})
posted @ 2015-08-26 17:10  zhenximeiyitian  阅读(458)  评论(0编辑  收藏  举报