【发布时间】:2013-12-29 08:18:40
【问题描述】:
所以我在我的电脑 (localdb) 上的 sql server 上有一个客户端程序和一个数据库。我正在尝试设置连接,但似乎提供者是错误的。我的连接字符串如下所示:
connection.ConnectionString =
"Data Source=(localdb)\\Projects;" +
"Provider=MSIDXS;" +
"Initial Catalog=TermPaperWork;" +
"User id=DAZZBOURGH\\Dazzbourgh;" +
"Integrated Security=True;" +
"Password=;";
所以一切都很好,除了提供者。我不知道它是什么以及如何使用它以及如何知道哪个提供程序适合我的数据库。
我如何找到我的提供者以获得确切的基础?
【问题讨论】:
标签: c# sql sql-server connection provider