这里分享一个不错的js分页代码。代码中cpage是页面计数,应为全局变量,可以随处调用它;totalpage是总页数。与asp分页代码很类似,也是先取得记录总数,然后实现分页,基本的分页思路与原理还是相通的,感兴趣的朋友做个参考吧。例子,js分页效果代码。JS静态分页程序--www.jbxue.co...
分类:
Web程序 时间:
2014-07-22 23:06:55
阅读次数:
405
function SearchCondition(){ this.startTime = "";
this.endTime = ""; this.targetInfo = ""; this.logType = ""; this.m...
分类:
Web程序 时间:
2014-05-01 15:36:22
阅读次数:
414
在调试程序的时候发现一个非常奇怪的问题:
用使用linq分页,分页到第二页的时候,第二页里面有第一页里出现的数据,开始还以为是、linq语句写的有问题,调试半天,无解。后来发现是因为没有排序的缘故。
使用这个q.Skip((sc.cpage.GetValueOrDefault() - 1) * .....
分类:
数据库 时间:
2014-05-01 02:23:38
阅读次数:
466
错误描述:Illegal overloaded getter method with
ambiguous type for property parent in class class cn.domain.Menu. This breaks
the JavaBeans specification a...
分类:
其他好文 时间:
2014-04-30 15:24:40
阅读次数:
6857
index.jsp 1 2 3 4 5 6 图片 7 8 9 10 11 12 13 14 15
...
分类:
其他好文 时间:
2014-04-29 20:28:33
阅读次数:
707
这是微软官方SignalR 2.0教程Getting Started with Entity
Framework 6 Code First using MVC 5 系列的翻译,这里是第三篇:排序、筛选和分页原文:Sorting, Filtering,
and Paging with the Enti...
分类:
Web程序 时间:
2014-04-29 16:25:46
阅读次数:
691
@helper放入地方分页效果选择开关编辑调用 是否主管:
@UIHelper.IsSelect("IsManager",Model.IsMan...
分类:
Web程序 时间:
2014-04-29 10:25:47
阅读次数:
517
打印a.jsp的部分页面将影响要打印的内容放到中为想要打印的内容创建样式pirnt.css在a.jsp中添加以下内容:function printpage(){
OpenWindow=window.open("", "_blank");//重写网页OpenWindow.document....
分类:
Web程序 时间:
2014-04-28 05:22:35
阅读次数:
521
MyBatis 在编码中的最大的改变就是将一个最常用的 API 由 SqlMapClient 改为SqlSessionFactory。另外,类型处理器接口也由原来的 TypeHandlerCallback 改为了 TypeHandler。最后 DataSourceFactory 也进行了调整,移动到 org.apache.ibatis.datasource 包下,其中的方法也作了微调。总之,代码层面公开的部分改动较少,不会给开发者造成较大的移植成本。...
分类:
其他好文 时间:
2014-04-27 21:11:00
阅读次数:
477
解决Spring MVC
对AOP不起作用的问题分类:SpringMVC3x+Spring3x+MyBatis3xmyibaitsspringJ2EE2013-11-21
11:22640人阅读评论(1)收藏举报用的是 SSM3的框架 Spring MVC 3.1 + Spring 3.1 + My...
分类:
编程语言 时间:
2014-04-27 21:04:22
阅读次数:
824