NCSdel.asp 431 B

123456789101112131415
  1. <!--#include file="../bdcommx/connxyz.asp"-->
  2. <%
  3. call log_chk()
  4. theX=trim(request("theX"))
  5. if theX<>"" then
  6. conn.Execute("delete from nsclass where ns_id="&theX&"")
  7. conn.Execute("delete from bdnews where ns_id="&theX&"")
  8. conn.close
  9. set conn=nothing
  10. end if
  11. response.write"<SCRIPT language=JavaScript>alert('删除成功!');"
  12. response.write"this.location.href='NCMag.asp';</SCRIPT>"
  13. response.end
  14. %>