2019年4月24日

摘要: //Start C# public System.Data.DataTable GetDormHealthOfClass(OurHelper.PageHelper<Dorm_DormitoryHealth> ph) { string classID = ""; foreach (var item i 阅读全文
posted @ 2019-04-24 18:14 吴翰哲 阅读(166) 评论(0) 推荐(0) 编辑

2018年10月16日

摘要: using (System.Transactions.TransactionScope transcope = new System.Transactions.TransactionScope()) { //code something transcope.Complete(); } 阅读全文
posted @ 2018-10-16 13:06 吴翰哲 阅读(311) 评论(0) 推荐(0) 编辑

2018年10月10日

摘要: protected void Page_Load(object sender, EventArgs e) { string filePath = Request.Params["FilePath"]; string fileName = HttpUtility.UrlDecode(Request.P 阅读全文
posted @ 2018-10-10 16:28 吴翰哲 阅读(2464) 评论(0) 推荐(0) 编辑

2018年5月22日

摘要: 1.使用Master数据库 2.选择数据库 select * from master.sys.sysprocesses where dbid=db_id('database') 3.查出进程使用kill命令杀掉进程kill 51 4.还原数据库 阅读全文
posted @ 2018-05-22 09:55 吴翰哲 阅读(440) 评论(0) 推荐(0) 编辑

2018年3月19日

摘要: 登录 mysql, 执行命令 : show variables like '%max_allowed_packet%' 重新设置: set global max_allowed_packet = 100*1024*1024 退出后,重新登录 mysql ,再次查看这个系统项的值, 注意,必须重新登录 阅读全文
posted @ 2018-03-19 09:55 吴翰哲 阅读(164) 评论(0) 推荐(0) 编辑

2017年11月14日

摘要: var scrollDistance = $("#设置了的overflow元素").scrollTop() + $('#' + 当前屏幕元素).offset().top; $("#设置了的overflow元素").scrollTop(scrollDistance) 阅读全文
posted @ 2017-11-14 14:45 吴翰哲 阅读(561) 评论(0) 推荐(0) 编辑

2017年7月19日

摘要: for(var i=0,flag=true,len=arr.length;i<len;flag ? i++ : i){ if( arr[i]&&arr[i].status==0 ){ arr.splice(i,1); flag = false; } else { flag = true; } } 阅读全文
posted @ 2017-07-19 15:20 吴翰哲 阅读(203) 评论(0) 推荐(0) 编辑

2017年6月23日

摘要: /*滚动条样式*/ .innerbox::-webkit-scrollbar {/*滚动条整体样式*/ width: 4px; /*高宽分别对应横竖滚动条的尺寸*/ height: 4px; } .innerbox::-webkit-scrollbar-thumb {/*滚动条里面小方块*/ bor 阅读全文
posted @ 2017-06-23 12:07 吴翰哲 阅读(556) 评论(0) 推荐(0) 编辑

2017年6月21日

摘要: cookies.setCookie("UserType", result.UserType, null, '/'); cookies.deleteCookie("UserType", "/"); 阅读全文
posted @ 2017-06-21 16:23 吴翰哲 阅读(154) 评论(0) 推荐(0) 编辑

2017年5月12日

摘要: /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/ ::-webkit-scrollbar { width: 16px; height: 16px; background-color: #F5F5F5; } /*定义滚动条轨道 内阴影+圆角*/ ::-webkit-scrollbar-tra 阅读全文
posted @ 2017-05-12 16:22 吴翰哲 阅读(109) 评论(0) 推荐(0) 编辑

导航