摘要: <input id="btnPrint" type="button" value="打印" onclick="javascript:window.print();" /> <input id="btnPrint" type="button" value="打印预览" onclick=preview(1) /> <style type="text/css" media=print> .noprint{d 阅读全文
posted @ 2013-03-12 17:07 panlovestan 阅读(186) 评论(0) 推荐(0) 编辑
摘要: --建立自增序列create sequence seqidNOMAXvaluestart with 1increment by 1nocacheorder;--建立触发器create or replace trigger tri_test_id before insert on mytable --mytable为要插入自增序列的表 for each rowdeclare nextid number;begin IF :new.Id IS NULL or :new.Id=0 THEN --id是要插入自增序列的列名 select seqid.nextval int... 阅读全文
posted @ 2013-03-12 16:19 panlovestan 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 每一个java屌丝程序员都应该了解,jxl可以向excel单元格中添加数据,但是可以生成非常常用的折线表吗(通俗一点就是屌丝小学时候学的有x轴y轴,还有各种坐标点连接成的线)?查看jxl帮助文档后可能又让众屌丝失望了,jxl无法生成动态折线图,但是没关系,此路不通开彼路。下面就像大家介绍一下如何生成excel折现表——模板方法。所谓模板方法是首先在office工具中生成折线图,然后根据表格中的数据生成折线图。 生成excel折线表分为两种情况,第一种:格式固定,数据变动。第二种:格式变动,数据亦变动。 废话不多说,先介绍第一种。想了解此方法之前须对microsoft excel 如何使用表.. 阅读全文
posted @ 2013-03-12 14:39 panlovestan 阅读(2002) 评论(2) 推荐(5) 编辑