www.gusucode.com > ASP+ACCESS学生排课管理系统毕业设计(源代码+论文) > ASP+ACCESS学生排课管理系统毕业设计(源代码+论文)\ASP+SQL学生排课管理系统\ArrangeCourse\DelBackUpArrange.asp

    <!--#include file="../include/ADOVBS.asp"-->
<!--#include file="../include/keepHouse.asp"-->

<html>
<head>
<title><%=WebName%>-排课系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../include/WebCourseSettlementStyle.Css" rel="stylesheet" type="text/css">
</head>
<body>
<%
call InsureID()
if session("USER_TYPE")<>"Admin" then
	server.Execute("../include/header.asp")
	response.write "您不是管理员,不能进行该操作!"
	response.write "&lt;&lt;<a hret='javaScript:history.back()'>返回</a>"
	response.end
end if
if request("LIST_ID")="" then
	call trigErr()
end if
LIST_ID=request("LIST_ID")
'call Debug(LIST_ID)	
set Comd=server.createobject("ADODB.Command")
call openDB()
set Comd.ActiveConnection=conn
Comd.CommandType=adCMdStoredProc
Comd.CommandText="DeleteBackUpArrange"

set Para1=Comd.CreateParameter("LIST_ID",adInteger,adParamInput,4)
set Para2=Comd.CreateParameter("RESULT",adInteger,adParamOutput,4)
Comd.Parameters.Append Para1
Comd.Parameters.Append Para2

Comd("LIST_ID") = LIST_ID
if RESULT<>0 then
	call trigErr()
end if
Comd.Execute
call closeDB()

response.redirect "ArrangeCourse.asp"
%>
</body>
</html>