I try to run this simple code and i get this error: The type 'System.Data.Common.DbConnection' is defined in an assembly that is not referenced. You must add a reference to assembly
using MySql.Data.MySqlClient;
MySqlConnection conn = new MySqlConnection("server info");
The error highlights "MySqlConnection"
Ive added the reference to the DLL
Any Idea's?
The MySQL connector for windows mobile is installed with standard MySQL connectiors for .NET
C:\Program Files\MySQL\MySQL Connector Net 6.5.5\Assemblies\v2.0
see http://forums.mysql.com/read.php?38,577138,577228
You have to add a reference to MySql.Data.CF.dll to your project to use MySQL connector.