Ho già provato a togliere tutto,anzi ora ti posto il codice che ho ricavato scartando quello inutile presunto
codice:<%on error resume next set conn=Server.CreateObject("ADODB.Connection") conn.provider="Microsoft.Jet.OLEDB.4.0" conn.open(server.mappath("mdb-database/utenti.mdb")) if Request.form("action")="Save" then id=Request.Form("id") sql="UPDATE * tabella SET fname='" & Request.Form("fname") & "'," sql=sql & "lname='" & Request.Form("lname") & "'," WHERE tabella.[id]=" & id" conn.Execute sql, Recordsaffected if err <> 0 then Response.Write("You do idt have permission to update this database!") else Response.Write("Record number " & id & " was updated.") end if end if %> View source on how to save changes to, or delete from a database.</p> </body> </html>

Rispondi quotando