控制器
ViewData["select1"] = new SelectList(b.bd(),"names","names");
视图
@Html.DropDownList("select1",null,new { @style="width:100px;height:100px;border:1px solid black"})