OleDbException....please help!

  • Thread starter Thread starter Mazer
  • Start date Start date
M

Mazer

Hi!

I have a problem with my code. I have a access database that I fill a
my dataset with. Then I add new row to the dataset and save the
changes back to the access database. When doing this I get an
exception saying:
System.Data.OleDb.OleDbException: Syntax error in Insert into
statement.

Would be thankful if some guru could take a look at it....

ftp://g:[email protected]/p4.zip
 
Mazer,

After taking a very quick look at your code I see that the
OleDbCommandBuilder is not creating an Insert command for your data adapter.
Trying creating that manually.

Telmo Sampaio
MCT

Mazer said:
Hi!

I have a problem with my code. I have a access database that I fill a
my dataset with. Then I add new row to the dataset and save the
changes back to the access database. When doing this I get an
exception saying:
System.Data.OleDb.OleDbException: Syntax error in Insert into
statement.

Would be thankful if some guru could take a look at it....

ftp://g:[email protected]/p4.zip
 
I don't think that this is the problem since the Dbmanager is an api
class that I have to work against, and it should be tested and
verified....
Would be thankful for another solution....
 
Back
Top