query not working in vb.net 2010 -
"insert int register(name1,phone_no) values('" + sname.text + "','" + phone_no.text + "')" above query not working in vb.net 2010.i'm using access database.a syntax error showing in insert query statement.can me...
is query verbatim code? if so, misspelled "into":
insert register(name1,phone_no) values('" + sname.text + "','" + phone_no.text + "')
it's worth pointing out, though, should validating input text avoid sql injection attacks.
Comments
Post a Comment