ho questo errore:
ADODB.Recordset error '800a0cb3'
Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype.
/provemie.asp, line 15
questo e' il codice perche????? grazie
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
Dim objConn
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open"Provider = Microsoft.Jet.OLEDB.4.0; Data Source =" & Server.MapPath("/mdb-database/agenda.mdb")
%>
<%
Dim objRs
Set objRs = Server.CreateObject("ADODB.Recordset")
objRs.Open "Table1",objconn,1,3,2
objRs.Addnew
objRs("Cognome") = "provacognome"
objRs.Update
%>
<%
objRs.Close
Set objRs = Nothing
objConn.Close
Set objConn = Nothing
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
</body>
</html>
ADODB.Recordset error '800a0cb3'
Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype.
/provemie.asp, line 15
questo e' il codice perche????? grazie
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
Dim objConn
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open"Provider = Microsoft.Jet.OLEDB.4.0; Data Source =" & Server.MapPath("/mdb-database/agenda.mdb")
%>
<%
Dim objRs
Set objRs = Server.CreateObject("ADODB.Recordset")
objRs.Open "Table1",objconn,1,3,2
objRs.Addnew
objRs("Cognome") = "provacognome"
objRs.Update
%>
<%
objRs.Close
Set objRs = Nothing
objConn.Close
Set objConn = Nothing
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
</body>
</html>