摘要: 进程堵塞处理方法: select * from sys.sysprocesses where blocked <>0 and DB_NAME(dbid)='GSHCPDB' ##查询堵塞进程 dbcc inputbuffer(74) select * from sys.sysprocesses wh 阅读全文
posted @ 2019-01-11 14:46 A大洋芋 阅读(784) 评论(0) 推荐(1) 编辑
摘要: 【四舍五入取整截取】 select round(54.56,0) 【向下取整截取】 SELECT FLOOR(54.56) 【向上取整截取】 SELECT CEILING(13.15) --MSSQL取整函数的使用--两个整数相除将截断小数部分 select 3/4,4/3,5/3 --结果 0,1 阅读全文
posted @ 2018-12-06 14:54 A大洋芋 阅读(316) 评论(0) 推荐(1) 编辑
摘要: GridView內CheckBox控件全選設置 不需要添加後台代碼操作,前端即可完成設置,如下: 前端代碼: 1.設置javascript。 <html xmlns="http://www.w3.org/1999/xhtml" > <script type="text/javascript"> fu 阅读全文
posted @ 2018-11-26 09:35 A大洋芋 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 有时候想实现一个CheckBox选取功能,但是很多细节不是很清楚 相信大家都有遇到类似的情况,直接看代码,如下: 前端代码GridView1,CheckBox控件设置 <asp:GridView ID="GridView1" runat="server" Height="2px" Width="72 阅读全文
posted @ 2018-11-24 16:17 A大洋芋 阅读(695) 评论(0) 推荐(1) 编辑