So I have a client program and a database on sql server that's on my pc (localdb). I'm trying to set connection on, but it seems like provider is wrong. My connection string looks like this:

connection.ConnectionString =
        "Data Source=(localdb)\\Projects;" +
        "Provider=MSIDXS;" +
        "Initial Catalog=TermPaperWork;" +
        "User id=DAZZBOURGH\\Dazzbourgh;" +
        "Integrated Security=True;" +
        "Password=;";

So everything is OK there, except provider. I don't get what it is and how to use it and how to know which provider suits my database.

How do I find out my provider for exact base?

有帮助吗?

解决方案

I always use http://www.connectionstrings.com when I have questions on the format of a connection string.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top