2016年1月12日
摘要: 转载自:http://blog.csdn.net/lilinoscar/article/details/21027319 简单的介绍一下生成XML文件以及解析,因为有些数据不一定放到数据库,减少链接数据库 用xml还是比较好些。如果遇到问题也就是解析时报错,对于解析,可以... 阅读全文
posted @ 2016-01-12 17:30 记性特差 阅读(1946) 评论(0) 推荐(1) 编辑
摘要: #region 验证邮箱 public static bool IsEmail(string email) { String strExp = @"\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"; Regex r = new Regex(strExp); Match m = r.Match(email); return m... 阅读全文
posted @ 2016-01-12 16:03 记性特差 阅读(244) 评论(0) 推荐(0) 编辑