GibboK
GibboK

Reputation: 73908

How to create a connection string uning Visual Studio 2010

How to create a connection string using Visual Studio 2010?

thanks

Upvotes: 0

Views: 5764

Answers (2)

Dewfy
Dewfy

Reputation: 23614

Not exactly VS, but works anywhere:

  • In the notepad create empty file blabla.udl
  • Doubleclick in explorer on it
  • Edit all connections parameter & driver in system dialog
  • Apply changes and reopen file in notepad

It will contain valid connection string

Upvotes: 0

Richard
Richard

Reputation: 108975

Add the connection to Server Explorer, then right click on the connection and select properties. The Properties window shows the connection string.

Upvotes: 4

Related Questions