change this line:cmd.CommandText = "INSERT INTO KlantenT (KlantNaam,KlantVoornaam) VALUES (txtNaam.text ,txtVoornaam.text)"
if the variables are numeric to this:cmd.CommandText = "INSERT INTO KlantenT (KlantNaam,KlantVoornaam) VALUES (" & txtNaam.text & ", " & txtVoornaam.text & ")"
and if they are strings to this:cmd.CommandText = "INSERT INTO KlantenT (KlantNaam,KlantVoornaam) VALUES ('" & txtNaam.text & "', '" & txtVoornaam.text & "')"
BUT you really should be using stored procedures and validating your input. This setup is just begging for SQL Injection hacks -- one of the easiest and most damaging hacks out there. Do a little research on "SQL Injection"