質問

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