- 浏览: 16834 次
- 性别:
- 来自: 上海
最新评论
文章列表
Create Sequence Sequence_Name //建序列
Increment By 1 //增加为1
Start With 1 //开始为1
Maxvalue 99999999 //最大
cache 20
Create Trigger Trigger_Name //创建触发器
Before Insert On Table_Name //条件
For Each Row //
Begin
select Sequence_Name.nextval into :new.ID from dual; //ID加1
end;
- 2007-12-19 16:43
- 浏览 2577
- 评论(0)
/***************************************************************************
* 获取分页的全部信息
*/
public List getAllI(int UserID, int nPageSize,int nPageNum)
{
ArrayList list = new ArrayList();
String sql = "select ID,to_Char(AddDate,'yyyy-mm-dd') as sDate, rowN ...
- 2007-12-19 16:40
- 浏览 1281
- 评论(0)
<script language="javascript">
var arrPro=new Array("北京","上海","天津");
function setPro(sValue){
var obj=document.getElementById("selProvince");
if(arrPro.length>0){
var nID=0;
for(var i=0;i<arrPro.length;i++){
var o ...
- 2007-12-19 16:37
- 浏览 1711
- 评论(0)
全选(checkbox)
- 博客分类:
- javascript
function checkAll(){
var objCheck=document.getElementsByName("chk");
var obj=document.getElementById("chkAll");
for(var i=0;i<objCheck.length;i++){
if(obj.checked){
objCheck[i].checked=true;
}else{
...
- 2007-12-19 16:35
- 浏览 995
- 评论(0)
http://h50237.www5.hp.com/iPortal/Template/Publication/Common/OneColumnWithLogo.aspx?PublicationID=71314e53-cc92-4c44-ac50-a7534a2d7ed6
MD5 md5=new MD5();
md5.getMD5ofStr(。。);
- 2007-12-19 16:32
- 浏览 981
- 评论(0)
SmartUpload upLoad = new SmartUpload(); //SmartUpload组件
try
{
upLoad.initialize(getServlet().getServletConfig(),request,response);
upLoad.upload(); or upLoad.upload(“。。。”);
}
catch (Exception e1)
{
// TODO Auto-generated catch block
e1.printStackTrace();
}
...
- 2007-12-19 16:21
- 浏览 1366
- 评论(0)
父页面:
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,width=500,height=600,resizable=no,scrollbars=yes");
}
...
- 2007-12-19 16:17
- 浏览 1795
- 评论(0)
public boolean isNumeric(String s)
{
Pattern pattern = Pattern.compile("[0-9]*");
Matcher matcher = pattern.matcher(s);
return matcher.matches();
}
function isNumeric(value){
var returnValue = true;
var re = new RegExp("^([0-9]+)$&qu ...
- 2007-12-19 15:45
- 浏览 1778
- 评论(0)
CREATE OR REPLACE PACKAGE CURSPKG AS
TYPE refCursorType IS REF CURSOR;
procedure sp_Page(p_PageSize int, --每页记录数
p_PageNo int, --当前页码,从 1 开始
p_SqlSelect varchar2, --查询语句,含排序部分
p_SqlCount varchar2, --获取记录总数的查询 ...
- 2007-12-12 13:02
- 浏览 1037
- 评论(0)
转载
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 instance
that is your class constructor should no contain parameters, and you should cast the instan ...
- 2007-12-08 14:02
- 浏览 3285
- 评论(0)