首先,在连接数据库时,必须安装MySql- Connector,然后,在visaul扩展管理器中添加一个dotConnect for Mysql,这样就可以配置数据源了,再就是在using中添加Mysql.data和Mysql.data.MysqlClient,再就可以用Mysql中的对象了,操作类似MSsql
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn