自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

oracle 数列,触发器(自动 ID 加1)

[code]Create Sequence Sequence_Name //建序列Increment By 1 //增加为1Start With 1 //开始为1Maxvalue 99999999 //最大cache 20Create Trigger Trigger_Name //创建触发器Before Insert On Table_Name //条件...

2007-12-19 16:43:26 411

分页 (利用 数据库 存储过程 rownum)

[code]/*************************************************************************** * 获取分页的全部信息 */ public List getAllI(int UserID, int nPageSize,int nPageNum) { ArrayList...

2007-12-19 16:40:40 149

下拉菜单( 全国省份 )

[code] var arrPro=new Array("北京","上海","天津"); function setPro(sValue){ var obj=document.getElementById("selProvince"); if(arrPro.length>0){ var nID=0; for(var i=0;i

2007-12-19 16:37:41 539

全选(checkbox)

[code]function checkAll(){ var objCheck=document.getElementsByName("chk"); var obj=document.getElementById("chkAll"); for(var i=0;i

2007-12-19 16:35:48 96

MD5加密

[url]http://h50237.www5.hp.com/iPortal/Template/Publication/Common/OneColumnWithLogo.aspx?PublicationID=71314e53-cc92-4c44-ac50-a7534a2d7ed6[/url][code]MD5 md5=new MD5();md5.getMD5ofStr(。。);[/...

2007-12-19 16:32:30 108

SmartUpload组件 上传文件

[code]SmartUpload upLoad = new SmartUpload(); //SmartUpload组件 try { upLoad.initialize(getServlet().getServletConfig(),request,response); upLoad.upload(); or upLoad.upload(“。。。”); ...

2007-12-19 16:21:01 81

窗口的弹出 window.open showModalDialog

父页面:[code]function setChannel(){ var sID=document.getElementById("txtSID").value; if(navigator.appName=="Netscape"){ window.open("vip_w.jsp?sID="+sID,"","top=50,left=300,modal=yes,w...

2007-12-19 16:17:43 85

正则表达式(添如的 必须是 数字)

[code]public boolean isNumeric(String s) { Pattern pattern = Pattern.compile("[0-9]*"); Matcher matcher = pattern.matcher(s); return matcher.matches(); } fu...

2007-12-19 15:45:00 627

存储过程 分页

[code]CREATE OR REPLACE PACKAGE CURSPKG AS TYPE refCursorType IS REF CURSOR; procedure sp_Page(p_PageSize int, --每页记录数 p_PageNo int, --当前页码,从 1 开始 ...

2007-12-12 13:02:17 93

jdbc class.forName作用 ( 向DriverManager注册自己)

转载 Class aClass = Class.forName(xxx.xx.xx);  Object anInstance = aClass.newInstance();  Class.forName("").newInstance()返回的是object  but there is some limit for this method to create insta...

2007-12-08 14:02:14 231

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除