<%
dim email, Nome, Note, IDCategoria
email = Request.Form("email")
Nome = Request.Form("Nome")
Note = Request.Form("Note")
IDCategoria = Request.querystring("IDCat")
strSql = "INSERT INTO contatti "
strSql = strSql & "(email, Nome, Note, IDCategoria) "
strSql = strSql & " VALUES (" & ToSql(email) & "," & ToSql(Nome) & "," & ToSql(Note) & "," & ToSql(IDCategoria) & ")"
cn.Execute strSql
cn.close()
set cn = nothing
' response.redirect("elenco_contatti.asp")
%>
Tipo di errore:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][Driver ODBC Microsoft Access] Errore di sintassi nell'istruzione INSERT INTO.
/server/adcon/aggiungi_contatti3.asp, line 15
ZZO SBAGLIO?![]()
![]()


Rispondi quotando