在asp.net中使用mySQL [英] using mySQL in asp.net
本文介绍了在asp.net中使用mySQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何在asp.net中使用MySQL?我想使用sqldatasource,但是当我尝试配置数据源时,mySQL数据库不在选择框中...感谢Advanced
how can i use mySQL in asp.net? i want to use the sqldatasource but when i try to configure the datasource mySQL database is not in the selection box... thanks in advanced
推荐答案
安装库mysql. NET可以免费下载,然后在web.config中配置连接字符串,并在SqlDataSource的ConnectionString属性中提供该连接
install the Library mysql.net it is free to download then configure the connectionstring in web.config and give that connection in the ConnectionString property in SqlDataSource
这篇关于在asp.net中使用mySQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文