摘要: 在C#中对应的说明 SQL C# bigint(sql大小:8byte) long(64位) int, integer(sql大小:4byte) int(32位) smallint(sql大小:2byte) short(16位) tinyint(sql大小:1byte) byte(8位) 注意: 使 阅读全文
posted @ 2017-06-06 17:25 chang1234 阅读(11792) 评论(0) 推荐(0)
摘要: select * from (select * from( select row_number() over(partition by Pid order by created desc) rowId,* from table ) t where rowId=1) tt 阅读全文
posted @ 2017-06-05 18:01 chang1234 阅读(2253) 评论(1) 推荐(0)
摘要: select * from ( select row_number() over(order by id) as rowid,* from table where 1=1 ) tt select count(1) as countRow from ( select * from table wher 阅读全文
posted @ 2017-06-02 15:03 chang1234 阅读(303) 评论(0) 推荐(0)
摘要: Ctrl+E,S (空格)Ctrl+e,W (换行)// 在 Edit -> Advanced -> 设置 ctrl+k,d(格式化) ctrl+e,c(注释) Ctrl + M + O折叠所有方法 --2017年7月25日15:06:07 阅读全文
posted @ 2017-05-31 15:00 chang1234 阅读(274) 评论(0) 推荐(0)
摘要: 1.通过HttpModule来捕获未处理的异常 首先需要定义一个HttpModule,并监听未处理异常,代码如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 publicvoid Init(HttpApplication con 阅读全文
posted @ 2017-05-18 16:41 chang1234 阅读(242) 评论(0) 推荐(0)
摘要: traditional:true ,可以阻止query深度序列化参数对象,可以传递数组,需要传递数组的参数放在一起 阅读全文
posted @ 2017-05-17 15:32 chang1234 阅读(592) 评论(0) 推荐(0)
摘要: quartz .net http://www.cnblogs.com/jys509/p/4628926.html 阅读全文
posted @ 2017-05-17 13:49 chang1234 阅读(97) 评论(0) 推荐(0)
摘要: resharper 阅读全文
posted @ 2017-05-17 13:39 chang1234 阅读(431) 评论(0) 推荐(0)
摘要: break语句:终止并跳出循环体。continue语句:终止当前循环,重新开始一个新的循环。goto语句:跳转到指定位置(不推荐使用)。return语句:跳出循环及其包含的函数。 阅读全文
posted @ 2017-05-17 10:20 chang1234 阅读(17112) 评论(0) 推荐(0)