I have a table containing a DATE field and a DATETIME field. Using either the CmdMysQL.ExecuteScalar.GetType on either field returns a TYPE=DATETIME. Also if I use the CmdMySQL.ExecuteReader() and retieve the fields, they both show up as DATETIME.
This is causing me some grief, as I want to use Visual Studio Crystal Reports. Whenever I have a DATE field in the report, it shows up as "dd-mmm-yyyy hh:mm:ss". I can't format out the time component.
I looked at the source code for the Connector. In there I found the module ...\MySql.Data\Provider\Source\Types\MySqlDateTime.cs but no corresponding module for DATE. So I can only gather that this is by design.
Can someone please explain whether this is indeed by design, or is it an oversight? ANy suggestions as to what I can do with my reports?
This is causing me some grief, as I want to use Visual Studio Crystal Reports. Whenever I have a DATE field in the report, it shows up as "dd-mmm-yyyy hh:mm:ss". I can't format out the time component.
I looked at the source code for the Connector. In there I found the module ...\MySql.Data\Provider\Source\Types\MySqlDateTime.cs but no corresponding module for DATE. So I can only gather that this is by design.
Can someone please explain whether this is indeed by design, or is it an oversight? ANy suggestions as to what I can do with my reports?