Syntax error (missing operator) when deleting a row with commandbu
- From: "Hawkmoth" <Hawkmouth@xxxxxxxxxxxxx>
- Date: Mon, 13 Jun 2005 03:15:04 -0700
Hi I hope someone can help
I am creating a C# project that stores data into an Access database.
I have created a dataset using an OleDbDataAdapter with a sql select statment
"SELECT table.* FROM table
This table has a long Interger autonumbering ID key field, 1 text field, 1
Long Interger field, and 31 Double fields.
I then use the Commandbuilder object to create the Insert, delete and update
commands.
The Insert command seems to work ok as I can create a new row and use the
OleDbDataAdapter.update( ); with now problems
My problem is that I get Syntax error (missing operator) when I attempt to
update a record set after deleting a row.
After this I introduced a dataGrid control and connected this to the dataset
and all the data seems to be ok.
I have other tables in my project that a treated in a similar mannor and
these seem to delete rows ok. The only thing is that these other tables have
less fields but thats the only differance that I can see.
Any ideas?
--
All the best
Hawkmoth
.
- Follow-Ups:
- Re: Syntax error (missing operator) when deleting a row with commandbu
- From: Erland Sommarskog
- Re: Syntax error (missing operator) when deleting a row with commandbu
- Prev by Date: Re: Rowset properties
- Next by Date: Inserting into SQL via XML using OLEDB Consumer Templates ?
- Previous by thread: Rowset properties
- Next by thread: Re: Syntax error (missing operator) when deleting a row with commandbu
- Index(es):
Relevant Pages
|
Loading