Thread: error SQlite
View Single Post
  #1 (permalink)  
Old 05-20-2007, 12:51 AM
manu manu is offline
Knows the basics
 
Join Date: Apr 2007
Location: Canari Islan
Posts: 67
Unhappy error SQlite

Hola Erel

trabajo con bases SQLite.

En la version 4 no tenia ningun problema, pero con la version 5 ya me ha dado varios fallos.

Estoy intentando borrar un registros con la siguiente orden:

cmd.commandtext ="DELETE FROM OrderDetails WHERE ProductId= '" txtDetallProductID.Text "'"
cmd.executenonquery

y me da un error que no me daba con la version 4

Error description:

SQLite error

unrecognized token: "'"

Antes no me lo daba

Gracias

Last edited by manu : 05-20-2007 at 01:04 AM.
Reply With Quote