05 2014 档案

摘要:一、条件字段为数值的情况select*fromtbwhereid=@id;--当前记录selecttop1*fromtbwhereid>@idorderbyid;--下一条记录selecttop1*fromtbwhereid<@idorderbyiddesc--上一条记录二、以排序的思路出发的一种方... 阅读全文
posted @ 2014-05-20 09:56 Michael_W 阅读(1020) 评论(0) 推荐(0)
摘要:private void ShowRunTime() { TimeSpan ts1 = Process.GetCurrentProcess().TotalProcessorTime; Stopwatch stw = new Stop... 阅读全文
posted @ 2014-05-12 09:28 Michael_W 阅读(1040) 评论(0) 推荐(0)
摘要:警告:未能解析引用的程序集“*******, Version=1.0.0.0, Culture=neutral,”,因为它对不在当前目标框架“.NETFramework,Version=v4.0,Profile=Client”中的“System.Data.OracleClient, Vers... 阅读全文
posted @ 2014-05-09 16:42 Michael_W 阅读(474) 评论(0) 推荐(0)
摘要:select RewardId, stuff((select ','+rtrim( EveryDay)+':'+rtrim( Statistic) from cr where t.RewardId=RewardId order by EveryDay for xml path('')),1,1,''... 阅读全文
posted @ 2014-05-08 18:39 Michael_W 阅读(151) 评论(0) 推荐(0)
摘要:Android一词的本义指“机器人”,同时也是谷歌于2007年11月5日宣布的基于Linux平台的开源手机操作系统的名称,该平台由操作系统、中间件、用户界面和应用 软件组成,号称是首个为移动终端打造的真正开放和完整的移动操作系统。 Android的产生还得从Andy Rubin(安迪鲁宾)说起。安... 阅读全文
posted @ 2014-05-08 15:14 Michael_W 阅读(1464) 评论(0) 推荐(0)
摘要:function ChkJson(strJson) { //判断Json格式是否正确 if (strJson == null || strJson == "") return true; try { JSON.parse(strJson); re... 阅读全文
posted @ 2014-05-08 15:06 Michael_W 阅读(397) 评论(0) 推荐(0)