coursedel.asp
来自「学生管理功能: 1.添加单个成绩 2.批量添加成绩 3.通过搜索并修改与删除」· ASP 代码 · 共 20 行
ASP
20 行
<!--#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 + =
减小字号Ctrl + -
显示快捷键?