Re: What changed with MySqlDbType.Datetime?
Posted by:
Paul Hyman
Date: November 29, 2004 07:40PM
I was also getting exceptions during the DataAdapter.Fill calls. I made the following change to the MySql Connector code (datareader.cs) and eliminated the problem:
in method GetValue change the line
if (val is MySqlDateTime) return val;
to
if (val is MySqlDateTime) return ((MySqlDateTime)(val)).GetDateTime();
I don't know if this might cause other problems, but for me everthing seems to work fine with this change.
Subject
Written By
Posted
November 18, 2004 08:20AM
November 18, 2004 08:32AM
November 18, 2004 10:37AM
November 18, 2004 02:43PM
November 19, 2004 06:51AM
November 29, 2004 10:14AM
November 29, 2004 10:17AM
November 29, 2004 11:04AM
Re: What changed with MySqlDbType.Datetime?
November 29, 2004 07:40PM
November 30, 2004 11:07AM
December 03, 2004 04:42PM
December 09, 2004 02:43PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.