c# - delete records in foxpro 2.x using oledb connection -
hi there first of im completed excited use first time incredible forum
my question is, if knows how physically delete fox pro 2.x record c#.net using oledb connection, because used simple , standard delete sql statement 'delete table condition' , compiler throws me exception have sintax error.
p.s. im mexican please considered english, im not pretty @ all.
could show code used? simple delete table condition should indeed work fine.
did use dbcommand .executenonquery() ?
in general pattern this...
idbconnection c = getyourconnectionornewoneup(); using (idbcommand cmd = c.createcommand()) { cmd.commandtext = "delete yourtable yourfield = 'value'"; cmd.executenonquery(); }
Comments
Post a Comment