相关代码 |
|
set rs=server.createobject("adodb.recordset") rs.open "Select * from A_d_m_i_n where id="&Request("id"),conn,1,3 if rs.bof and rs.eof then Response.Write "alert('数据库中没有该记录!');document.location.href('Admin_Manage.asp');" Response.End() else rs.Delete rs.Update Response.Write "alert('成功删除指定的信息!');document.location.href('Admin_Manage.asp');" end if %>