MYSQL.NET provider works fine with VB.NET but not with C# code

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
Shivani Matta

MYSQL.NET provider works fine with VB.NET but not with C# code

Post by Shivani Matta » Thu 13 Jan 2005 20:07

I installed Corelab MYSQL.NET provider on my machine. If I try to import it in vb.net, it works and it allows me to fetch data etc, but in C# code, it says that the namespace could not be found. The very statement -
using CoreLab.MySql;
fails.Is there a different reference required for VB.net and C#? Any help is appreciated.

Oleg
Devart Team
Posts: 264
Joined: Thu 28 Oct 2004 13:56

Re: MYSQL.NET provider works fine with VB.NET but not with C# code

Post by Oleg » Fri 14 Jan 2005 09:50

There is no difference in working our provider for VB and C#.
Probably you forgot to add reference on CoreLab.MySql.dll at your project.
Please see our C# demos.

Post Reply