...non ricevo alcun errore.
Fatto il submit del form dove inserisco i vari dati... vengo mandato su admin_file.asp?ok=ok ma la tabella non subisce modifica... dove sbagli?
codice:
if Request.Querystring("azione") = "eseguimodifica" then
Dim testo1r, testo2r, testo3r
testo1r = Replace(Request.Form("testo1"), "'", "''")
testo2r = Replace(Request.Form("testo2"), "'", "''")
testo3r = Replace(Request.Form("testo3"), "'", "''")
set my_Conn = Server.CreateObject("ADODB.Connection")
my_Conn.Open strConnString
sql="UPDATE Tab37 SET ANNO1 = '" & Request.Form("anno1") & "', TESTO1 = '" & testo1r & "', ANNO2 = '" & Request.Form("anno2") & "', TESTO2 = '" & testo2r & "', ANNO3 = '" & Request.Form("anno3") & "', TESTO3 = '" & testo3r & "' WHERE ID = '" & Request.Form("ID") & "'"
Set RS = my_Conn.Execute(SQL)
my_Conn.Close
set my_Conn = nothing
Response.Redirect("admin_file.asp?ok=ok")
End If
Grasssie