?? classchaxundel.asp
字號:
<!--#include file="connectionstring.asp"-->
<%
idClass=request.cookies("idClass")
if idClass="" then
response.write "非法操作!"
response.end
end if
Tempx=request("IdCourse")
if len(tempx)=9 then
IdCourse=left(Tempx,2)
elseif len(tempx)=8 then
IdCourse=left(Tempx,1)
end if
'TempX的右邊7位是班級組別代碼,左邊兩位是實驗編碼。 '2003-9-17
ClassGP=right(TempX,7)
Set Conn=Server.CreateObject("ADODB.Connection")
Conn.Open strConn
sql = "select * from course where id='" &IdCourse& "'"
set rs = conn.execute(sql)
CourseName=rs("name")
room=rs("room")
rs.close
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head>
<body background="Back1.jpg" link="#0000FF" vlink="#0000FF" alink="#FF0000">
<p align="center"><font face="楷體_GB2312" size="6" color="#008080">取消已經預約實驗確認</font></p>
<hr width="60%" noshade color="#008080">
<p align="center">你真的要刪除這個實驗選項嗎?</p>
<p align="center">實驗名稱:<font color="#FF0000"><b><%=CourseName%></b></font></p>
<p align="center">實驗地點:<font color="#FF0000"><b><%=room%>室</b></font></p>
<p align="center">選 課 組:<font color="#FF0000"><b><%=Classgp%></b></font></p>
<form method="POST" action="ClassChaXunDelOk.asp">
<input type="hidden" name="NameCourse" value="<%=CourseName%>">
<input type="hidden" name="idCourse" value="<%=IdCourse%>">
<input type="hidden" name="Classgp" value="<%=Classgp%>">
<p align="center"><input type="submit" value="是的,我要取消" name="B1">
<input type="button" value="不取消,返回主菜單" name="B2" onClick="location='ClassMain.asp'"></p>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -