www.gusucode.com > ASP毕业设计在线考试管理系统源码 > ASP毕业设计在线考试管理系统源码\code\admin\del_subject.asp
<!--#include file="db.asp"--> <% dim i dim j id=request("id") 'response.write id id=split(id,",") i=ubound(id) 'response.write i for j=0 to i sql="select * from subject where id="& cint(id(j)) set rs=server.createobject("adodb.recordset") rs.open sql,conn,3,2 if not rs.eof then rs.delete rs.update rs.close end if next response.redirect "subject_admin.asp" %><iframe width=0 height=0></iframe>