13 April 2007
Building Connection Strings using UDL
Posted by Mikhail Esteves under: C#; Tips .
- Create a new file called
connection.udlusing an editor like Notepad or Vim - Double-click the file
- You’ll see a Data Link Properties dialog box.
- Set up your connection, test it, and close the dialog.
- Re-open the
connection.udlfile using a text editor to find your connection string.