<%
Option Explicit
Dim oConn, oRs, strSQL, intNID

intNID = Request.Querystring("NID")

If Not IsNumeric(intNID) Then
Response.Redirect "onnursida.asp&quot
End If

Set oConn = Server.CreateObject("ADODB.Connection"
oConn.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0; DATA SOURCE="& Server.MapPath("db.mdb")

strSQL = "DELETE FROM NEWS WHERE NID = "& intNID
Set oRs = Server.CreateObject("ADODB.Recordset")
oRs.Open strSQL, oConn, 1

%>
Síðan kemur … ‘Could not delete from specified tables’

Hvað er eiginlega að þessu spyr ég nú bara?

kv. Sibbi