大家好,当我尝试从 App.config
文件中检索连接时,我收到了指定的错误。
我的App.Config
如下
<add name="Conn"
connectionString="Data Source=SYSTEM19\SQLEXPRESS;Initial Catalog=Dora;Integrated Security=True"
providerName="System.Data.SqlClient" />`
在这行代码中我得到了提到的错误任何人都可以帮助我
dataAdapter = new MySqlDataAdapter(selectCommand, MyConnectionString);
最佳答案
Integrated Security 不是 MySQL 连接字符串的有效关键字
关于c# - 不支持关键字。参数名称 : integrated security,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9239967/