Geeks With Blogs

News FAQ on the correct forum to post at: http://forums.asp.net/p/1337412/2699239.aspx#2699239
Tatworth

Creating a connection string by hand is quite difficult, however you create a connection string as follows:

1) Create an empty text file in windows explorer and rename it to X.UDL
2) Double click on it and the datalink provider dialog will appear.
3) Select the provider tab. Find the provider for your data access method and click next.
4) Select your source 
5) Test the connection and save it.
6) Open X.UDL with a text editor to see your connections string.

You can also look at http://www.connectionstrings.com/ for examples of connection strings.

Posted on Thursday, June 17, 2010 9:44 PM | Back to top


Comments on this post: From the Coalface - 4 - Getting a connection string

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © TATWORTH | Powered by: GeeksWithBlogs.net