会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
chang1234
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2017年6月6日
转:C#与SQl数据的对应关系(tinyint、smallint、int、bigint)
摘要: 在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)
2017年6月5日
sqlserver 根据排序取相同值第一个
摘要: 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)
2017年6月2日
sqlserver分页语句
摘要: 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)
2017年5月31日
.net 快捷键
摘要: 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)
2017年5月18日
转:ASP.NET捕获全局未处理异常的几种方法
摘要: 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)
2017年5月17日
jquery ajax 向后台传递数组
摘要: 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)
C# 好用的插件
摘要: resharper
阅读全文
posted @ 2017-05-17 13:39 chang1234
阅读(431)
评论(0)
推荐(0)
C# 跳出循环
摘要: break语句:终止并跳出循环体。continue语句:终止当前循环,重新开始一个新的循环。goto语句:跳转到指定位置(不推荐使用)。return语句:跳出循环及其包含的函数。
阅读全文
posted @ 2017-05-17 10:20 chang1234
阅读(17112)
评论(0)
推荐(0)
2017年5月16日
存储区更新、插入或删除语句影响到了意外的行数(0)。实体在加载后可能被修改或删除。刷新 ObjectS
摘要: 主键未赋值
阅读全文
posted @ 2017-05-16 19:31 chang1234
阅读(338)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告