摘要: 请参考:http://www.cnblogs.com/inforasc/archive/2009/10/12/1582110.html 阅读全文
posted @ 2014-12-23 15:18 JasonGu0 阅读(165) 评论(0) 推荐(0)
摘要: public static class ChineseToPinYin { private static readonly Dictionary CodeCollections = new Dictionary {{ -20319, "a" }, { -20317, "... 阅读全文
posted @ 2014-12-23 13:15 JasonGu0 阅读(430) 评论(0) 推荐(0)
摘要: public class Student { public int ID { get; set; } [Required(ErrorMessage = "学生姓名不能为空")] [StringLength(4, ErrorMessage = "最多只能... 阅读全文
posted @ 2014-12-23 09:57 JasonGu0 阅读(235) 评论(0) 推荐(0)