tags:

views:

101

answers:

3

my visual studio 2008 don't know "MySql.Data.MySqlClient" and says: "The type or namespace name 'MySql' could not be found (are you missing a using directive or an assembly reference?)"

what should I do now?

+5  A: 

You should add a reference to "MySql.Data.dll" in your Visual Studio 2008 project via rightclick/add reference.

The MySql.Data.dll should be part of the .Net MySql connector which is available here. And there is a kind of tutorial for MySQL and C# too.

tobsen