Correggi il "-1" (definendo il campo email di tipo stringa) e poi prova così:
codice:<% Dim bar if len(request.form("bar")) > 0 then bar = True else bar = False end if SQL = "UPDATE hotel set nome_struttura = '" & Request.Form("struttura") & "', proprietario = '" & Request.Form("titolare") & "', persona_rif = '" & Request.Form("rif_struttura") & "', url= '" & Request.Form("url") & "', email = '" & Request.Form("email") & "', n_camere = '" & Request.Form("n_camere") & "', prezzo_sing_min = '" & Request.Form("min_sing") & "', prezzo_sing_max = '" & Request.Form("max_sing") & "', prezzo_doppia_min = '" & Request.Form("min_doppia") & "', prezzo_doppia_max = '" & Request.Form("max_doppia") & "', bar = " & bar & " WHERE id = " & session("id") %>

Rispondi quotando
