asp数据删除

<%

set rs=server.createobject("adodb.recordset")

exec="delete * from [guide] where id="&request.querystring("id")

rs.open exec,conn,3,2

Response.Write "<script language='javascript'>alert('删除成功!');location='main.asp'</script>"

%>

posted @ 2018-06-08 11:10  黑旗君  阅读(174)  评论(0编辑  收藏  举报