C# Cannot find using MySql.Data.MySqlClient;

If you’re writing a .NET application and you’re using Visual Studio 2010 and MySQL database on windows, you’ll find that none of the database code you enter is recognized, and even when you put “using MySql.Data.MySqlClient;” into the code, even that is unrecognized. So the solution is to right click on your project name, click on add reference, click on .NET and then find the MySql.Data.dll file in the list and add it. Be sure to click on component model so that all dll’s are organized by name which allows you to find MySql.Data.dll alot faster. Also ensure that you import the correct version (there is a MySql.Data.dll file for both .NET 2.0 and 4.0)

Cherio ?