<%@ page contentType="text/html;charset=gb2312" %> <%@ page import = "java.util.*" %> <%@ page import="java.sql.*"%> <%@ page import="javax.servlet.*"%> <%@ page import="javax.servlet.http.*"%> <%@ page import="java.util.Date" %> <%@ page import="AspToJsp.*"%> <% String sqlStr1="select countNum from cinfo_counter where belong='english'"; String sqlStr2="select countNum from cinfo_counter where belong='Program'"; MyExeSQL exeSql2 = null; exeSql2 = new MyExeSQL(); Vector rstVector3 = null; rstVector3 = exeSql2.execQuery(sqlStr1); String[] tempArray1 = (String[])rstVector3.elementAt(1); //out.print("counterNum:"+tempArray1[0]); int theCounter=0; theCounter=Integer.parseInt(tempArray1[0])+1; rstVector3 = exeSql2.execQuery(sqlStr2); String[] tempArray2 = (String[])rstVector3.elementAt(1); int theCounter1=0; theCounter1=Integer.parseInt(tempArray2[0])+1; Date today=new Date(); String submit_time_now=current.getDate(today); String sqlModify="update cinfo_counter set countNum="+theCounter+",submitTime=to_date('"+submit_time_now+"','YYYY-MM-DD HH24:MI:SS') where belong='english'"; String sqlModify1="update cinfo_counter set countNum="+theCounter1+",submitTime=to_date('"+submit_time_now+"','YYYY-MM-DD HH24:MI:SS') where belong='Program'"; //out.print(sqlModify); db.executeUpdate(sqlModify); db.executeUpdate(sqlModify1); %> 中国儿童信息中心
<%@ include file="/common/head.jsp"%>
 

 

 
 相关国内网站/卫生保健
 
  中国疾病预防控制中心
  公众健康教育信息服务网
  艾滋病在线
  中国营养网
  中国公众营养
  中国九亿农民健康教育
  中国初级卫生保健基金会
  中国卫生健康网
  中国儿童卫生保健疾病防治指导中心
  中国疾病预防控制中心健康教育所
  中国生殖健康网
   
 
<%@ include file="/common/foot.jsp"%>