I have an INSERT code where the variable s = 4. Help would be pretty appreciated.
con.Open()
Dim cmd As New SqlCommand(\"INSERT INTO Employee VALUES
You missed the closing parenthesis. Change it like
Dim cmd As New SqlCommand("INSERT INTO Employee VALUES('" & txtfname.Text & "','" & txtmi.Text & "','" & txtlname.Text & "','" & txtssn.Text & "','" & txtbdate.Text & "','" & txtaddress.Text & "','" & cmbsex.Text.ToUpper & "','" & txtsalary.Text & "','" & DBNull.Value & "','" & s & "')", con)