代码入下:
<!--#include file="../../includes/keepHouse.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<script language="JavaScript">
function validate(){
var Compcontent = document.workout.COMPCONTENT.value;
var Comptime = document.workout.COMPTIME.value;
if (Compcontent==""){
alert("内容不能为空!");
return false;
}
if (Comptime==""){
alert("完成时间不能为空!");
return false;
}
}
</script>
</head>
<body>
<%
call insureID()
dim PLAN_ID
dim WORK_CONTENT
dim PERSON_NAME
dim DEPARTMENT
dim PLAN_TIME
dim PALN_DATE
dim action
PLAN_ID=request("PLAN_ID")
action=request("action")
sql ="SELECT * FROM Workplan WHERE (PLAN_ID='"&PLAN_ID&"')"
call openDB()
rs.open sql,conn,1,1
if rs.eof then
call closeDB()
call trigErr()
end if
PERSON_NAME=rs("PERSON_NAME")
DEPARTMENT=rs("DEPARTMENT")
PLAN_TIME=rs("PLAN_TIME")
PLAN_DATE=rs("PLAN_DATE")
%>