Hi, I get this error when I try to save a datatime field to the database
using OdbcDataAdapter .Update method.
oAdapter.Update Command.Command Text is like: "update aTable set effetive_from
=? where primarykey=?"
The parameter related to this field is like:
oAdapter.Update Command.Paramte res.Add(new OdbcParameter(" effective_from" ,
Odbctype.dateti me, 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
using OdbcDataAdapter .Update method.
oAdapter.Update Command.Command Text is like: "update aTable set effetive_from
=? where primarykey=?"
The parameter related to this field is like:
oAdapter.Update Command.Paramte res.Add(new OdbcParameter(" effective_from" ,
Odbctype.dateti me, 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
Comment