Problems with MySql Connector.Net in code behind

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

I've installed MySql Connector.Net and it works very well if you not do code
behind.

But if you do code behind then in the declaration with namespaces you'll get
an error, a line under the MySql.Data.MySqlClient namespace

Imports MySql.Data.MySqlClient gives an error while

<%@ Import Namespace="MySql.Data.MySqlClient" %> works just fine.

Any ideas?

Any workarounds?

TIA

Kenneth P
 
If you are using codebehind then that means you need to add a reference
to the assembly.
 
Back
Top