void roless() { JumbotOA.BLL.PowerBLL dp = new JumbotOA.BLL.PowerBLL(); DropDownList2.DataSource = dp.GetList("").Tables[0]; DropDownList2.DataTextField = "PName"; DropDownList2.DataValueField = "Pid"; DropDownList2.DataBind(); }