MVC 给@Html.TextBox 添加属性和样式 1.添加属性:@Html.TextBox("CnAddressmodify","", new { maxlength="90" }) 2.添加样式:@Html.TextBox("EnAddressmodify","",new {@class="EnAddressmodify",style="86px;"})