📄 delselect.asp
字号:
<!--#include file="..\inc\conn.asp"-->
<!--#include file="..\inc\SessionCheck.asp"-->
<%
Call DBConnBegin()
dim id,stuid,course
id=trim(request("id"))
sSql="select * from stuinfo where [ID]='"&CStr(id)&"'"
oRs.open sSql,oConn,3,2
stuid=oRs("StuID")
oRs.close
course=Request.Form("course")
if course<>"" then
'删除选课信息
sSql="delete from CourseSelectedInfo where StuID='"&stuid&"' and CID='"&course&"'"
oRs.open sSql,oConn,1,1
end if
Call DBConnEnd()
Response.redirect "todeselect.asp?id="&CStr(id)
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -