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
Post a Comment