MySQL .Net Provider 5.2 does not show up in Data Source dialog of VS 2008 Express

笑着哭i 提交于 2019-12-25 05:09:38

问题


I have installed MySQL .NET data provider 5.2 (through it's installer) but I could not see the MySQL data provider in Data Source dialog of Database Explorer.

I am using VS 2008 Express edition. Do you have any clues ?

Regards, Jatan


回答1:


VS 2008 Express (and VS 2005 Express too) doesn't allow you to use MySQL .Net Provider through the Data Source Dialog. The non-Express edition allow you to do the same.

To use MySQL in VS Express, you will have to include a reference to the MySQL DLLs from the location where you installed the Provider (most probably C:\Program Files\MySQL\MySQL Connector Net x.x.x). Or copy the DLLs from the same location to the Bin folder of your project.




回答2:


I do not think you can use MySQL in .NET that way, it is meant as a native .NET library for MySQL, so you will have to do things code-wise.



来源:https://stackoverflow.com/questions/396593/mysql-net-provider-5-2-does-not-show-up-in-data-source-dialog-of-vs-2008-expres

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!