mi era sfuggito che il campo del db è numerico, quindi vale anche l'altra soluzione (anche meglio) proposta da optime:
codice:If Len(Trim(Replace(Request.Form("Mailadress"), "'", "''"))) > 0 Then Bolletta_mail = 1 Else Bolletta_mail = Null End If 'Scrivo il campo nel DB. sqlUpdUtente = sqlUpdUtente & "Bolletta_mail= "& Bolletta_mail &", "



Rispondi quotando