摘要: // 遍历枚举 Type AA = typeof(DbType); foreach (string s in Enum.GetNames(AA)) { Console.WriteLine("{0,-11}= {1}", s, Enum.Format(AA, Enum.Parse(AA, s), "d")); } 阅读全文
posted @ 2012-06-25 14:19 钢的锅 阅读(154) 评论(0) 推荐(0) 编辑