会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
行人
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
下一页
2016年6月23日
js 操作cookie
摘要: 1、设置 Cookie 2、获取 Cookie 3、删除 Cookie
阅读全文
posted @ 2016-06-23 19:06 朝闲
阅读(138)
评论(0)
推荐(0)
2016年5月31日
MVC 常用方法
摘要: 1、
阅读全文
posted @ 2016-05-31 17:21 朝闲
阅读(154)
评论(0)
推荐(0)
2016年4月19日
微信网页签名失败(invalid signature)
摘要: 签名失败,建议按以下步骤排查 我是在第三步错的。。。默认参数也一定要写上 一定要完全一模一样(不包含#及其后面部分) 还有一个坑 就是 URL链接 一定要连大小写都一模一样(真坑)
阅读全文
posted @ 2016-04-19 15:34 朝闲
阅读(818)
评论(0)
推荐(0)
2016年3月1日
js设置奇偶行数样式
摘要: $(document).ready(function () { odd = { "background": "none" }; //奇数样式 even = { "background": "#f3f3f3" }; //偶数样式 odd_even(".gys_xq", odd, even); });
阅读全文
posted @ 2016-03-01 10:49 朝闲
阅读(902)
评论(0)
推荐(0)
2016年2月24日
c#简单的调试信息、日志信息输出
摘要: public static void ErrorLog(string mssg) { string FilePath = "D:/logs/ErrorLog.txt"; try { if (System.IO.File.Exists(FilePath)) { using (StreamWriter
阅读全文
posted @ 2016-02-24 10:32 朝闲
阅读(1265)
评论(0)
推荐(0)
2015年11月2日
调用接口
摘要: /// /// 发起一个HTTP请求(以POST方式) /// /// /// /// public static string HttpPost(string url, string param = ""...
阅读全文
posted @ 2015-11-02 16:45 朝闲
阅读(210)
评论(0)
推荐(0)
2015年10月22日
sql日期转换格式
摘要: Select CONVERT(varchar(100), GETDATE(), 0): 05 16 2006 10:57AMSelect CONVERT(varchar(100), GETDATE(), 1): 05/16/06Select CONVERT(varchar(100), GETDATE...
阅读全文
posted @ 2015-10-22 16:23 朝闲
阅读(151)
评论(0)
推荐(0)
2015年8月31日
.net 常用方法
摘要: 1、String数组转换成Int数组 string[] strArr = "a,b,c".Split(','); int[] intArr = Array.ConvertAll<string, int>(strArr, s => int.Parse(s)); 2、datetime 转换字符串 dt.
阅读全文
posted @ 2015-08-31 17:21 朝闲
阅读(281)
评论(0)
推荐(0)
2015年8月20日
日常验证
摘要: 验证0-23 正数 /^(2[0-3]|[0-1]?\d)$/
阅读全文
posted @ 2015-08-20 17:43 朝闲
阅读(122)
评论(0)
推荐(0)
2015年8月13日
Js 返回页面 or 跳转页面
摘要: 跳出 iframe 在当前页跳转, window.parent.frames.location.href=www.baidu.com" 跳转页面
阅读全文
posted @ 2015-08-13 14:23 朝闲
阅读(325)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告