2018年9月12日
摘要: 命令提示符(管理员运行) slmgr.vbs -skms zh.us.to 然后点击疑难解答 自动激活 阅读全文
posted @ 2018-09-12 16:56 PaperFolding 阅读(173) 评论(0) 推荐(0) 编辑
  2018年4月28日
摘要: <select id="XXX" name="XXX" lay-search=""> <option value="">直接选择或搜索选择</option> </select> 选中第一个值: $($('#XXX').siblings("div.layui-form-select").find("d 阅读全文
posted @ 2018-04-28 14:16 PaperFolding 阅读(950) 评论(0) 推荐(0) 编辑
  2018年1月3日
摘要: date_add() {year,month,week,day,hour,minute}//年,月,星期,日,小时,分钟 select date_add(Now(), interval -1 year); //当前时间往后增加一年 阅读全文
posted @ 2018-01-03 11:45 PaperFolding 阅读(200) 评论(0) 推荐(0) 编辑
  2017年6月14日
摘要: //将实体类转为Json JsonConvert.SerializeObject 阅读全文
posted @ 2017-06-14 12:25 PaperFolding 阅读(394) 评论(0) 推荐(0) 编辑
  2017年6月12日
摘要: //后台下拉列表第一行死数据绑定 控件id.Items.Insert(0, "请选择省"); //js下拉列表第一行死数据绑定 var option = new Option('请选择市', '请选择市');$("#city").append(option, 1); 阅读全文
posted @ 2017-06-12 17:42 PaperFolding 阅读(221) 评论(0) 推荐(0) 编辑
  2017年5月19日
摘要: var myDate = new Date(); //获取当前年 var year = myDate.getFullYear(); //获取当前月 var month = myDate.getMonth() + 1; //获取当前日 var date = myDate.getDate(); var 阅读全文
posted @ 2017-05-19 18:12 PaperFolding 阅读(601) 评论(0) 推荐(0) 编辑
  2017年5月17日
摘要: string json = (new System.Web.Script.Serialization.JavaScriptSerializer()).Serialize(dic); 阅读全文
posted @ 2017-05-17 12:14 PaperFolding 阅读(151) 评论(0) 推荐(0) 编辑
摘要: select id,max(case when 唯一值列名=值 then 需要转的列数据 end) as '重定义名字',max(case when 唯一值列名=值 then 需要转的列数据 end ) as '重定义名字'from 表名 group by id order by id; 阅读全文
posted @ 2017-05-17 12:13 PaperFolding 阅读(149) 评论(0) 推荐(0) 编辑
  2017年5月16日
摘要: public static string GetIPAddress() { string user_IP = string.Empty; if (System.Web.HttpContext.Current.Request.ServerVariables["HTTP_VIA"] != null) { 阅读全文
posted @ 2017-05-16 10:46 PaperFolding 阅读(193) 评论(0) 推荐(0) 编辑
  2017年5月4日
摘要: var now = new Date(); var time = now.getFullYear() + "-" +((now.getMonth()+1)<10?"0":"")+(now.getMonth()+1)+"-"+(now.getDate()<10?"0":"")+now.getDate( 阅读全文
posted @ 2017-05-04 16:29 PaperFolding 阅读(20816) 评论(0) 推荐(0) 编辑