摘要: #region 根据身份证获取出生日期 /// <summary> /// 根据身份证获取出生日期 /// </summary> /// <param name="Card"></param> /// <returns></returns> private DateTime GetBirthDayB 阅读全文
posted @ 2017-10-09 18:28 亘古不变 阅读(295) 评论(0) 推荐(0) 编辑
摘要: public enum EnumAPPType{ 申请 = 0 变更 = 1,} // 设置值,和文本类型 Array array = Enum.GetValues(typeof(DTEnums.EnumAPPType)); if (array != null && array.Length > 0 阅读全文
posted @ 2017-10-09 18:26 亘古不变 阅读(259) 评论(0) 推荐(0) 编辑
摘要: #region 创建临时文件夹 string strMapPath = Server.MapPath("~/"); string strTempFilesPath = Path.Combine(strMapPath, "TempFilesPath"); string tempFolder = Pat 阅读全文
posted @ 2017-09-22 18:58 亘古不变 阅读(2926) 评论(0) 推荐(0) 编辑
摘要: 调用无参数的方法 //创建线程对象 传入 委托线程执行的方法 Thread ts = new Thread(CountTimes); //启动线程 执行方法 ts.Start(); //将线程设置为后台线程(当所有的前台线程结束后,后台线程会自动退出) //ts.IsBackground = tru 阅读全文
posted @ 2017-09-22 11:43 亘古不变 阅读(3562) 评论(0) 推荐(0) 编辑
摘要: WebClient wc = new WebClient(); wc.Encoding = Encoding.UTF8; string strHtml = wc.DownloadString("http://www.cnblogs.com/cllgeek/p/5873012.html"); // 所 阅读全文
posted @ 2017-09-22 11:42 亘古不变 阅读(522) 评论(0) 推荐(0) 编辑
摘要: 1.引用命名空间 <%@ Import Namespace="CESIWEB.Common" %> 2.调用变量 "<%=(int)DTEnums.EnumDecisionCheckStatusId.待分配 %>" 3.调用方法 <%#Eval("RegisterToDate", "{0:yyyy- 阅读全文
posted @ 2017-09-22 11:39 亘古不变 阅读(176) 评论(0) 推荐(0) 编辑
摘要: string url = Request.Url.Scheme + "://" + Request.Url.Host + ":" + Request.Url.Port; ;//返回与Web服务器上的指定的虚拟路径相对的物理文件路径 // 以上URL如果有误,就采用下面的方法 //string url 阅读全文
posted @ 2017-09-22 11:33 亘古不变 阅读(613) 评论(0) 推荐(0) 编辑
摘要: api.getPrefs({ key : 'Password' }, function(ret, err) { password = ret.value; }); var password = api.getPrefs({ sync : true, key : 'Password' }); 阅读全文
posted @ 2017-09-22 11:31 亘古不变 阅读(1868) 评论(0) 推荐(0) 编辑