Torna al Thread
sql = "INSERT INTO tab_temp ([tipouser],[cognome],[nome],[ragionesocial],[indirizzo],[provincia],[comuneresidenza],[cap],[telefono],[fax],[cf],[piva],[email],[username],[password],[chiave],[active])"
sql = sql & " VALUES (" & tipo & ",'','','" & txtRagsociale.Text & "','" & txtIndirizzo.Text & "','"
sql = sql & ddlProvincia.SelectedValue & "','" & ddlResidenza.SelectedValue & "','" & txtCap.Text & "','"
sql = sql & txtTelefono.Text & "','" & txtFax.Text & "','','','','','','" & key.ToString & "'," & Active & ")"