I get some troubles with a DLL reference.
I have MySql.Data.dll in my bin folder. And I added the reference of this dll to my project.
I can well use classes from this dll (like MySqlConnection, MySqlClient, etc) in aspx.cs but i cannot use it in classes from files from App_Code folder !
For all files situated in App_Code folder (my model classes) , the using MySql.Data;
doesn't work. While it works in aspx.cs files.