利用发射 下拉列表绑定枚举

public static DataTable GetDataTable(Type enumType) { // NameValueCollection nvc = new NameValueCollection(); Type typeDescription = typeof(DescriptionAttribute); System.Reflection.FieldInfo[] fields = enumType.GetFields(); string strText = string.Empty; string strValue = string.Empty; DataTable ta.
posted @ 2012-06-29 11:04  AlanCoder  阅读(182)  评论(0编辑  收藏  举报
View Code