Hi!
I'm developing an application wich connects from my Pocket-PC (Windows Mobile 5.0, .NET Compact Framework) to a MySQL-Database (MySQL 5.0) in the Visual Studio 2005 c#.
Therefore I downloaded the MySQLDirect .NET Provider and started:
1. I linked to the "CoreLab.MySQL.dll".
2. I put a "using CoreLab.MySQL.dll" as a preprocessor.
But when tyring to definde a new Connection with
CoreLab.MySql.MySqlConnection foo = new CoreLab.MySql.MySqlConnection();
I get an error while building (translated from the German error-text):
Error 1: the type "System.Data.Common.DbConnection" is defined on not referenced assembly. Insert a link to the assembly "System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
Following those steps in "normal" Windows application wokrs very finde; but using it in the .NET Compact Framework is tricky.
Thank you very much for your replies,
yours Ulric.