Hi Sergio,
Do you create InsertCommand, DeleteCommand, and
UpdateCommand (or simply create OleDbCommandBuilder
object) for
DataAdapter before you call the DataAdapter's Update
method?
Elton Wang
(E-Mail Removed)
>-----Original Message-----
>Sorry if this is too basic but I've been banging my head
on this for some time now.
>
>I'm using Visual Stucio 2003, VB.NET. I'm able to build
a win form with an OleDBConnection, DataAdapter and
DataSet against an Access 2003 database using Jet 4.0.
>I'm able to browse, move forward, backwards, show the
contents on text boxes, etc.
>
>There's just no way I can update the database even though
I'm using the command:
>
>DataAdapter1.Update(dsDataSet1) (I'm sure the names are
correct in the progam!). This command fires if I press
the "Update" button.
>
>I'm using Office 2003. I've saved the db using the 2003
format, tried with Access 2000-2002 format, I've tried
making changes to the parameters on the connection string
but nothing seems to make it update the table.
>
>Very simple table:
>ID Text 50
>Name Text 50
>
>I'm using the wizards for the data part of the program.
Any ideas anyone ? Am I the only one with this issue ?
>
>Thanks a lot!
>
>ST
>