P
Pat
I'm using the OleDBDataAdapter and a Typed dataset in a databound form
in C#.
The database is Access and the table contains a date/time field. The
database data already exists and the date field has both a date and a
time (e.g. 4/1/2004 12:47:29 AM). If I include the date field when I
configure the adapter, updates fail with "Concurrency violation: the
UpdateCommand affected 0 records" If I leave the date field out when
configuring the adapter, the update works fine (except, of course,
that I can't change the date field.)
The failure does not occur if the field contains just a date and not
the time component. Additionally, the error occurs if the field just
contains the time component.
It seems like the time component is not supported.
Any ideas? I have seen other posts with this exact problem; however,
no one has posted a resolution.
in C#.
The database is Access and the table contains a date/time field. The
database data already exists and the date field has both a date and a
time (e.g. 4/1/2004 12:47:29 AM). If I include the date field when I
configure the adapter, updates fail with "Concurrency violation: the
UpdateCommand affected 0 records" If I leave the date field out when
configuring the adapter, the update works fine (except, of course,
that I can't change the date field.)
The failure does not occur if the field contains just a date and not
the time component. Additionally, the error occurs if the field just
contains the time component.
It seems like the time component is not supported.
Any ideas? I have seen other posts with this exact problem; however,
no one has posted a resolution.