non capisco per quale motivo il mio form non aggiunge i dati nel data base vi prego di darmi una mano il codice del form è questo:
il codice di tutto.aspcodice:<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> <table width="98%" border="1"> <tr> <td height="441"> <form name="form1" method="post" action="tutto.asp"> <fieldset> <label for="textfield">descrizione</label> <textarea name="textfield" cols="150" rows="20"></textarea> </p> </fieldset> </p> </p> <textarea name="textfield2" cols="150" rows="20"></textarea> </p> </p> </p> <input type="submit" name="Submit" value="Invia"> </p> </form> </td> <td height="441"></td> </tr> <tr> <td height="274"></td> <td height="274"></td> </tr> </table> </body> </html>
è questo:
e l'errore che mi dà il browser è:Tipo di errore:codice:<%@language=vbscript%> <%option Explicit%> <html> <body bgcolor="#FFFFFF" text="#000000"> <head> <title>Untitled Document</title> <%dim objconn, strconn set objconn= server.createobject("adodb.connection") strconn="Provider=Microsoft.Jet.OLEDB.4.0; Data Source="& server.mappath("/turismo/pino.mdb") objconn.open strconn dim objrs set objrs=server.createobject("adodb.recordset") objrs.open "tblex", objconn, adopenforwardonly, adlockoptimistic, adcmdtable objrs.addnew objrs("inchiesta")= request("textfield") objrs("gnome")=request("textfield2") objrs.update objrs.close set objrs= nothing objconn.close set objconn=nothing%> </head> </body> </html>
Microsoft JET Database Engine (0x80040E09)
Impossibile aggiornare. Database o oggetto di sola lettura.
/turismo/tutto.asp, line 15
Tipo di browser:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
Pagina:
POST 45 bytes to /turismo/tutto.asp
POST Data:
textfield=wdfwd&textfield2=wdwdd&Submit=Invia
Ora:
lunedì 19 settembre 2005, 23.25.42
Informazioni aggiuntive:
Supporto Microsoft
Quale è il motivo? Vi ringrazio anticipatamente.

Rispondi quotando