try to write only for save values
cmd = New SqlCommand("insert into Login1 values" & "(" & "'" & TextBox1.Text & "'" & "," & "'" & TextBox2.Text & "'" & "," & "'" & TextBox3.Text & "'" & "," & TextBox4.Text & "," & TextBox5.Text & "," & "'" & TextBox6.Text & "'" & "," & "'" & TextBox7.Text & "'" & ")", cn)
cmd.ExecuteNonQuery()
its not a good practice to save values as you are doing,always try to write Parameterized Insert Command.
take a look
Database Parameterized Insert Tutorial[
^]