12 2016 档案
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Common { public class DateUtils { /// /// 时间转换为...
阅读全文
摘要:using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; namespace Common { public class HttpUtils ...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Configuration; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Common { public class L...
阅读全文
摘要:一、校验数字的表达式 1 数字:^[0-9]*$ 2 n位的数字:^\d{n}$ 3 至少n位的数字:^\d{n,}$ 4 m-n位的数字:^\d{m,n}$ 5 零和非零开头的数字:^(0|[1-9][0-9]*)$ 6 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(.[0-9]{1,2})?$ 7 带1-2位小数的正数或负数:^(\-)?\d+(\.\d{1,...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Web; using System.Web.Mvc; namespace XG.Web.Controllers { /// /// 验证码获取 /// pu...
阅读全文
摘要:using System.IO; using System.Runtime.Serialization.Json; using System.Text; namespace WebTest.Controllers { public class JsonConvert { /// /// 将对象转换为json /// ...
阅读全文
摘要:下载链接: http://pan.baidu.com/s/1qYVOD7Q
阅读全文

浙公网安备 33010602011771号