📄 coursedel.asp
字号:
<!--#include file="a25175_conn.asp"-->
<%
dim id
id=trim(request("id"))
if id="" then
response.write"<script>alert('不要错误操作!');location='addcourse.asp'</script>"
else
strsql="select * from teachercourse where id="&id
set rs=db.execute(strsql)
course=rs("course")
strsql="delete from teachercourse where id="&id
db.execute(strsql)
'-----------------------------------------------------------------------------------
'------------------------------------删除课程
response.write"<script>alert('删除教师课程成功!');location='addcourse.asp'</script>"
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -