C#連接MySql數據庫--配置文件

1、在App.config中添加如下內容 <configuration> <connectionStrings> <add name="connstr" connectionString="server=localhost;uid=root;pwd=;Database=db_family"/> </connectionStrings> </configuration> 2、添加使用配置文件
相關文章
相關標籤/搜索