会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
向往
博客园
首页
新随笔
联系
管理
订阅
1
2
下一页
2017年7月20日
监听 返回按钮事件
摘要: pushHistory(); window.addEventListener("popstate", function (e) { location.href = '@Url.Action("Index", "Account")' + "?openid=" + openid; }, false);f
阅读全文
posted @ 2017-07-20 15:11 向往
阅读(289)
评论(0)
推荐(0)
2016年9月23日
微信 URL Scheme详细参数
摘要: weixin:// "weixin://dl/stickers""weixin://dl/games""weixin://dl/moments""weixin://dl/add""weixin://dl/shopping""weixin://dl/groupchat""weixin://dl/sca
阅读全文
posted @ 2016-09-23 14:10 向往
阅读(26377)
评论(1)
推荐(0)
2015年10月29日
js判断是否是微信浏览器
摘要:
阅读全文
posted @ 2015-10-29 10:22 向往
阅读(496)
评论(0)
推荐(0)
2015年8月6日
webservice 实现json模式
摘要: 直接上代码 public string GetUserInfoByOpenid(string openid) { var weixinuser = new WeiXinUser(); weixinuser.NickName = user.Ni...
阅读全文
posted @ 2015-08-06 12:31 向往
阅读(7385)
评论(0)
推荐(0)
2015年6月12日
c# 判断当前时间是否在 工作日时间段内
摘要: #region //获取当前周几 private string _strWorkingDayAM = "08:30";//工作时间上午08:00 private string _strWorkingDayPM = "17:30"; private string _strRes...
阅读全文
posted @ 2015-06-12 13:55 向往
阅读(16996)
评论(0)
推荐(0)
2015年5月20日
安装自创建的windows服务。
摘要: 安装自创建的windows服务。使用工具InstallUtil.exe进行安装和卸载创建的windows服务安装:C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/InstallUtil.exeF:\test\WindowsServe\UpdateFile\...
阅读全文
posted @ 2015-05-20 15:04 向往
阅读(302)
评论(0)
推荐(0)
2015年3月8日
linq 日期分组统计
摘要: #regionstringCondition(DateTimedate,stringtype){if(date==null){date=DateTime.MinValue;}if(type=="day"){returndate.ToString("yyyy-M-d");}elseif(type=="...
阅读全文
posted @ 2015-03-08 11:24 向往
阅读(2870)
评论(1)
推荐(0)
2014年8月15日
c# 打乱数组
摘要: 有时候得到了一个List,我想把它随机排列一下顺序。而且如果针对不同类型的List都能用,就要用到泛型。其实思想很简单,就是从原List中每次随机取一项,添加到新的List中,并在原List中删除。这样重复,直到原List为空为止。不过要注意,如果要保护原List不受变化,就必须先Copy一份Lis...
阅读全文
posted @ 2014-08-15 11:26 向往
阅读(9042)
评论(1)
推荐(0)
2014年8月5日
memcached 的简介、安装、命令
摘要: 一、memcached 概述Memcache(内存,缓存) : 是一个高性能的分布式的内存对象缓存系统。通过在内存里维护一个巨大的hash表。(key=value)Hash表key(键)value(值)var1"123456"var2array('ab','cd')var3object值二、memc...
阅读全文
posted @ 2014-08-05 16:04 向往
阅读(305)
评论(0)
推荐(0)
2013年10月14日
给力的图标插件
摘要: http://ecomfe.github.io/echarts/doc/example.html
阅读全文
posted @ 2013-10-14 12:46 向往
阅读(262)
评论(0)
推荐(0)
1
2
下一页