asp.net项目开发中用到的小技巧
1 显示枚举的值: 2 为下拉框绑定枚举: 实现代码如下: GetEnumList(ddlBids); void GetEnumList(DropDownList ddl) { foreach (EnumBidCardType s in System.Enum.GetValues(typeof(En
1 显示枚举的值: 2 为下拉框绑定枚举: 实现代码如下: GetEnumList(ddlBids); void GetEnumList(DropDownList ddl) { foreach (EnumBidCardType s in System.Enum.GetValues(typeof(En