我的项目需要一个可以分组显示的GridView,我不会写,上网找了一圈,最终在国外的网站上找到的这个,比较符合我的要求,但它的分页得重写,它写了能分页,但我发现它的分页功能事实上并没有实现,也不知道是不是我没找见。先上图:此demo原作者:Anurag
Gandhi为方便查看效果,此demo数据源是...
分类:
Web程序 时间:
2014-05-20 07:38:42
阅读次数:
422
1.更新,事务,索引,不支持,是全表扫描2.创建表的字段类型和java类型是对应的。不支持日期类型,提供转换为字符串类型的函数。3.查询语句中,不支持having,可写嵌套的select来解决;group
by后只能是表的定义列名,不能像mysql那样可以为查询语句为逻辑处理结果声明的别名,但可为逻...
分类:
其他好文 时间:
2014-05-19 19:04:30
阅读次数:
331
比较经典一个课程学分表C(cno, cname, ccredit)一个学生选课表SC(sno,
cno, grade)select sno from sc,c where sc.cno=c.sno and sc.grade>=60 group by
sno having sum(credit)>=3...
分类:
其他好文 时间:
2014-05-19 17:06:41
阅读次数:
218
我们在登录linux主机时,在输入完帐号和密码时,linux会先查找/etc/passwd文件中是否有这个帐号,如果没有则跳出,如果有的话,他会读取该帐号的user
ID和group ID同时该帐号的根目录和shell也读了出来。然后在去核对密码表,在/etc/shadow中找出我们刚刚输入的帐号和...
分类:
系统相关 时间:
2014-05-19 12:55:17
阅读次数:
310
T. E. Lawrence was a controversial figure during World War I. He was a British officer who served in the Arabian theater and led a group of Arab nationals in guerilla strikes against the Ottoman Empir...
分类:
其他好文 时间:
2014-05-18 15:17:29
阅读次数:
316
【题目】
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.
If the number of nodes is not a multiple of k then left-out nodes in the end should remain as it is.
You may not alter the values in the nodes, only n...
分类:
其他好文 时间:
2014-05-18 10:22:34
阅读次数:
367
CORBA概述
CORBA(Common Object Request Broker Architecture,公共对象请求代理体系结构)是由OMG组织制订的一种标准的面向对象应用程 序体系规范。或者说 CORBA体系结构是OMG为解决分布式处理环境(DCE)中,硬件和软件系统的互连而提出的一种解决方案。
OMG:Object Management Group,对象管理组织。是一个国际化的、开...
分类:
其他好文 时间:
2014-05-18 07:07:38
阅读次数:
383
前面讲到对于中断来说,eventCombiner将INTC的输入event 4~127分为四个group,即evenCombiner的四个输出event 0~3. 这样event 0~3与event 4~127一起作为Interrupt Sector的输入。之所以这样做是因为CPU仅有12个INT输入(INT4~15),而systemEvent有4~127共124个event,所以12个CPU的I...
分类:
其他好文 时间:
2014-05-18 06:12:14
阅读次数:
304
1. 为什么可以设置为多个redo log ?
(innodb_log_files_in_group,默认值和推荐值都是2,我们线上设的统一为4);2.
什么条件下会触发刷脏?除了master_thread\强制checkpoint以外,这个频率是否可以调整;3. recovery阶段,bp是...
分类:
数据库 时间:
2014-05-17 22:16:22
阅读次数:
413
console.log()console.warn() 警告console.error()
错误console.group() 分组 console.grounpEnd() 分组结束console.dir() 输出所有信息var cat =
{};cat.name = "mm";cat.sex .....
分类:
其他好文 时间:
2014-05-17 19:41:31
阅读次数:
370