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

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

html - Repeat image to extend header to fill screen -

javascript - Backbone.js getting target attribute -