S
Soop
I am having lots of problems with an Access DB and updating datasets
with date fields. Even on a very simple test DB of just ID & date
fields, I get a "Concurrency violation" when upding the data source
after changing the data from a datagrid.
I bind a datagrid to the dataset and populate the grid by a
dataAdaptor.fill
I then edit a date in the grid.
Then I update the data source using dataAdaptor.Update
That is the point I get my Concurrency Violation.
If I remove all Date fields from the database, I have no errors when
adding, deleting or updating records.
My question is, does anyone know of a way to see the actual sql
command that is being run on each datasource row update? I mean with
the parameters replaced so I can see what values are acutally being
inserted?
Any help very much appreciated.
Thanks
with date fields. Even on a very simple test DB of just ID & date
fields, I get a "Concurrency violation" when upding the data source
after changing the data from a datagrid.
I bind a datagrid to the dataset and populate the grid by a
dataAdaptor.fill
I then edit a date in the grid.
Then I update the data source using dataAdaptor.Update
That is the point I get my Concurrency Violation.
If I remove all Date fields from the database, I have no errors when
adding, deleting or updating records.
My question is, does anyone know of a way to see the actual sql
command that is being run on each datasource row update? I mean with
the parameters replaced so I can see what values are acutally being
inserted?
Any help very much appreciated.
Thanks