List:MySQL ODBC« Previous MessageNext Message »
From:Freddie Sorensen Date:July 7 2003 9:49pm
Subject:RE: .Net Native MYSQL Provider
View as plain text  
Jan

Don't know if this is the correct list

I am not so strong in C# but why are you creating the command object with
the connection object ?

I think it should be something like 

MySQLCommand cmd;
cmd = New MySQLCommand(strSQL, conn);

Freddie


-----Original Message-----
From: Reinmueller, Jan [mailto:Jan.Reinmueller@stripped] 
Sent: Montag, 7. Juli 2003 14:34
To: 'myodbc@stripped'

Hi, I have a question in reference to the .Net Native MYSQL Provider.

I imported the following namespace to my project.

using ByteFX.Data.MySQLClient;

I changed my source Code, but one command does not work.

MySqlCommand cmd = conn.CreateCommand();

This does not work, there is something wrong. Implied converting of
System.DataIDbCommand to ByteFX.Data.MySQLClient is not possible.


Did anybody know, what I have to do now?

Thanks in advance.


--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe:
http://lists.mysql.com/myodbc?unsub=1



Thread
.Net Native MYSQL ProviderJan Reinmueller7 Jul
  • RE: .Net Native MYSQL ProviderFreddie Sorensen7 Jul