what is wrong with this insert into code?
vb 2008 say that there is a syntax error but i believe there is nothing..
cmd.CommandText = " INSERT INTO account1(username, password, lname, fname, mi) VALUES('" & Me.TextBox4.Text & "','" & Me.TextBox5.Text & "','" & Me.TextBox1.Text & "','" & Me.TextBox2.Text & "','" & Me.TextBox3.Text & "')"
cmd.ExecuteNonQuery()
Answer Posted / priyanka singh
"INSERT INTO account1(username, password, lname,fname,mi) values( '" & Me.TextBox4.Text & "','"& Me.TextBox5.Text & "','" & Me.TextBox1.Text & "','" & Me.TextBox2.Text & "','" & Me.TextBox3.Text & "')"
cmd.ExecuteNonQuery()
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers