摘要: 分页需要知道哪些数据?a 页大小:每页显示多少条数据PageSizeb 当前页:当前显示第几页数据CurrentPageIndexc 总页数: 按照页大小分配,表中的所有数据总共分几页显示。1 使用not in、子查询 ROW_NUMBER()a 使用not in、子查询select top PageSize * from 表 where 条件 and id not in(select top PageSize * (CurrentPageIndex -1) id from 表 where 条件 order by 排列顺序)order by 排列顺序b --使用ROW_NUMBER()即:加了 阅读全文
posted @ 2013-06-17 13:31 时光未曾老去. 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 处理浏览器后退问题。安全退出。Session.Abandon();Session.Clear();//清空session //禁止浏览器后退。方法:在安全退出后先情况session再跳回一个指定页面,再前一个页面的load事件里处理代码、。判断是否为空。为空的话便再返回登录页面。处理兼容性问题。 解... 阅读全文
posted @ 2013-06-17 13:29 时光未曾老去. 阅读(143) 评论(0) 推荐(0) 编辑
摘要: repeater用法详解 http://www.17aspx.com/html/aspnet/2011/1016/4452.html 阅读全文
posted @ 2013-06-17 13:25 时光未曾老去. 阅读(52) 评论(0) 推荐(0) 编辑
摘要: http://zhishi.sohu.com/question/99076734.html 阅读全文
posted @ 2013-06-17 13:24 时光未曾老去. 阅读(64) 评论(0) 推荐(0) 编辑
摘要: Spring.Net+Nhibernate+Asp.Net Mvc :http://www.cnblogs.com/zhangziqiu/archive/2009/02/27/aspnet-mvc-1.htmlMVC实用构架实战:http://www.cnblogs.com/guomingfeng/archive/2013/05/20/mvc-build.html 阅读全文
posted @ 2013-06-17 13:21 时光未曾老去. 阅读(85) 评论(0) 推荐(0) 编辑