Concurrency violation
- From: "Zhuo Li" <zli@xxxxxxxxxx>
- Date: Thu, 18 Sep 2008 09:50:08 -0400
Hi, I get this error when I try to save a datatime field to the database
using OdbcDataAdapter.Update method.
oAdapter.UpdateCommand.CommandText is like: "update aTable set effetive_from
=? where primarykey=?"
The parameter related to this field is like:
oAdapter.UpdateCommand.Paramteres.Add(new OdbcParameter("effective_from",
Odbctype.datetime, 8, "effective_from");
The database is Sybase ASA 9.0. The column effective_from's type is datatime
in the database.
Any suggestions/ideas?
Thanks, Zhuo
.
- Follow-Ups:
- Re: Concurrency violation
- From: Zhuo Li
- Re: Concurrency violation
- From: Ken Foskey
- Re: Concurrency violation
- Prev by Date: RE: Detect when MSI finish
- Next by Date: Re: What is the difference between event and multicast delegate
- Previous by thread: Detect when MSI finish
- Next by thread: Re: Concurrency violation
- Index(es):
Relevant Pages
|