asp.net mvc中怎么为控件指定样式?

2025-03-06 23:05:46
推荐回答(1个)
回答1:

@Html.DropDownList("MyDropList", @Model.MySelectList, new { @class="myCssStyle" })