DropDownList控件的数据绑定技巧
DropDownList控件的数据绑定技巧2011-10-31 博客园 4inwork1.将Enum绑定到DropDownList控件的方法 DropDownList1.DataSource = Enum.GetNames(typeof(YSMV.XWShop1B2C.Model.OrderStatus)); DropDownList1.DataBind();将Enum绑定到DropDownList控件的主要用到...