Problems with MySql Connector.Net in code behind

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
 
R

recoil

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top