OS:WINDOWS XP SP2
mysql:4.0.14-max-debug
用MySQL Connector/Net.
提示错误Namespace or type specified in the Imports 'MySql.Data.MySqlClient' cannot be found
我已经把C:\Program Files\MySQL\MySQL Connector Net 1.0.4\bin\.NET 1.1\MySql.Data.dll拷贝到C:\Inetpub\wwwroot\WebApplication1\bin\下了.
而且,在html中引入<%@ Import Namespace = "MySql.Data.MySqlClient" %>;
在WebApplication1.aspx.vb中引入Imports mysql.Data.MySqlClient.
可还是不行,请大哥哥帮忙啊~!
mysql:4.0.14-max-debug
用MySQL Connector/Net.
提示错误Namespace or type specified in the Imports 'MySql.Data.MySqlClient' cannot be found
我已经把C:\Program Files\MySQL\MySQL Connector Net 1.0.4\bin\.NET 1.1\MySql.Data.dll拷贝到C:\Inetpub\wwwroot\WebApplication1\bin\下了.
而且,在html中引入<%@ Import Namespace = "MySql.Data.MySqlClient" %>;
在WebApplication1.aspx.vb中引入Imports mysql.Data.MySqlClient.
可还是不行,请大哥哥帮忙啊~!
你有沒有安裝mysql-connector-net-1.0.4.msi?
你的情況只有安裝上面檔案之後,加入參考才能引用喔