我用这个连接来运行我的SQL查询,但它没有工作,发送此错误:ASP.NET连接字符串错误
Keyword not supported: 'dsn'
这是我的联系:
public static string CnnStr = @"Dsn=Server;uid=kity;app=Microsoft® Visual Studio® 2010;wsid=kity;database=Server;trusted_connection=Yes";
这个连接在我的datalist中适用于我,但对于我的后台代码,它给了我这个错误。我应该说我使用ODBC连接数据库。
您能否为我们提供异常抛出的文本 – Deeptechtons
您正在使用哪种数据库产品? – adatapost