vb.net - Syntax Error OledbException delete statement -


i can't fugure out syntax error here. spot it? or going wrong?

dim mycommand new oledb.oledbcommand("delete * team intplayerno='" & txtuniformno.text & "'_ strfirstname='" & txtfirstname.text & "'_ strlastname='" & txtlastname.text & "'_ strparentname='" & txtparent.text & "'_ straddress='" & txtaddress.text & "'_ strcity='" & txtcity.text & "'_ strstate='" & txtstate.text & "'_ strzipcode='" & txtzip.text & "'_ strphone='" & txtphone.text & "'_ intage='" & txtage.text & "'", myconnection) 

a delete statement delete team where...

you best advised use parameterized queries avoid sql injection attacks


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

node.js - How to abort query on demand using Neo4j drivers -