Grazie, questo è il code che utilizzo:
codice:
'form
nome = Request.Form("nome")
cognome = Request.Form("cognome")
email = Request.Form("email")
'registra nel database
Set objConn = Server.CreateObject("ADODB.Connection")
strConn = Application("dbconn")
objConn.Open strConn
strsql = "INSERT INTO tbl_login (nome, cognome, email)"
strsql = strsql & " Values('"
strsql = strsql & nome & "','"
strsql = strsql & cognome & "','"
strsql = strsql & email & "')"
if err.number<>0 then response.write(err.description)
objconn.execute(strsql)
procedo come? :master: