我可以从数据库和我的其他项目(使用ASPMaker读/写记录)中读取,但我认为我会弄脏而不是作弊,但是当我尝试更新记录时,我得到500错误。该目录具有读写权限。有人可以查看我的代码,看看我犯了一个错误。
<!--#include file="Connection.asp"-->
<%
Dim DeleteRS, Query
Set DeleteRS = Server.CreateObject("ADODB.Recordset")
Query = "Select * From notices Where [notice].[approved] = False AND [notice].[Notice_ID] = " & Request.qureystring("n")
response.write(Query)
DeleteRS.Open Query, adoCon, adOpenStatic, adLockOptimistic
DeleteRS.Delete
DeleteRS.Close
Set DeleteRS = Nothing
Set Query = Nothing
%>