List:MySQL and .NET« Previous MessageNext Message »
From:Reggie Burnett Date:January 13 2005 1:05pm
Subject:RE: maybe an issue
View as plain text  
Jorge

Can you post a small bit of code that shows this problem?

Thanks
Reggie

> -----Original Message-----
> From: Jorge Bastos [mailto:mysql.jorge@stripped]
> Sent: Wednesday, January 12, 2005 3:16 PM
> To: dotnet@stripped
> Subject: maybe an issue
> 
> Reggie, this i think it could be an issue, or maybe not.
> 
> Is there any reason when i do a select from a table to a MySqlDataAdapter
> with the following structure.
> 
> +-----------------+--------------+------+-----+------------+-------+
> | Field           | Type         | Null | Key | Default    | Extra |
> +-----------------+--------------+------+-----+------------+-------+
> | cliente         | varchar(255) |      | PRI |            |       |
> | numero          | int(10)      |      | PRI | 0          |       |
> | data            | date         |      |     | 0000-00-00 |       |
> | hora            | time         |      |     | 00:00:00   |       |
> | pessoa_contacto | varchar(100) |      |     |            |       |
> | assunto         | varchar(255) |      |     |            |       |
> | relatorio       | text         |      |     |            |       |
> +-----------------+--------------+------+-----+------------+-------+
> 
> 
> The i get an error from the "hora" time field, like you see below:
> System.InvalidCastException: Cast from type 'TimeSpan' to type 'String' is
> not valid.
> 
> The error is not direcly from mysql.data.mysqlclient.mysqldataadapter
> but... is this ok? with the old bytefx 0.76 and older i never had this
> kind of problem.
> 
> jorge

Thread
maybe an issueJorge Bastos12 Jan
  • Re: maybe an issueAhmet Erispaha12 Jan
  • Re: maybe an issueJorge Bastos12 Jan
  • RE: maybe an issueReggie Burnett13 Jan
    • Re: maybe an issueJorge Bastos13 Jan
Re: maybe an issueJorge Bastos12 Jan