tag:blogger.com,1999:blog-18669442.post4161470544556036527..comments2024-03-26T17:54:23.738+00:00Comments on Shared .NET stuff: How to create a connection string programmaticallyJacques L. Chereauhttp://www.blogger.com/profile/03733988177982708738noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-18669442.post-62468685601504360002010-11-08T17:54:41.237+00:002010-11-08T17:54:41.237+00:00You can create a connection string through the usa...You can create a connection string through the usage of .udl file.<br /><br />UDL File Creation :<br /><br />1) Right-click on the desktop, or in the folder where you want to create the file.<br />2) Select New, then Text Document.<br />3) Give the Text Document any name with a .udl extension ("Show file extensions" must be enabled in folder options).<br />4) A window will pop up warning that "If you change a filename extension, the file may become unusable. Are you sure you want to change it?" Select Yes.<br />5) You have now successfully created a UDL file.<br /><br />Now you need to implement the settings inside the .udl file according to your requirements. A video tutorial has been provided to explain you the whole procedure of using .udl file to create a connection string for MS SQL Server.<br /><br /><a href="http://visiontechno.net/studymats/udlcreation.html" rel="nofollow">http://visiontechno.net/studymats/udlcreation.html</a>saurav banthiahttps://www.blogger.com/profile/14117123732187963567noreply@blogger.comtag:blogger.com,1999:blog-18669442.post-61537110231963980112010-11-08T17:54:08.358+00:002010-11-08T17:54:08.358+00:00You can create a connection string through the usa...You can create a connection string through the usage of .udl file.<br /><br />UDL File Creation :<br /><br />1) Right-click on the desktop, or in the folder where you want to create the file.<br />2) Select New, then Text Document.<br />3) Give the Text Document any name with a .udl extension ("Show file extensions" must be enabled in folder options).<br />4) A window will pop up warning that "If you change a filename extension, the file may become unusable. Are you sure you want to change it?" Select Yes.<br />5) You have now successfully created a UDL file.<br /><br />Now you need to implement the settings inside the .udl file according to your requirements. A video tutorial has been provided to explain you the whole procedure of using .udl file to create a connection string for MS SQL Server.<br /><br />http://visiontechno.net/studymats/udlcreation.htmlsaurav banthiahttps://www.blogger.com/profile/14117123732187963567noreply@blogger.comtag:blogger.com,1999:blog-18669442.post-15657567534641170722009-01-05T18:57:00.000+00:002009-01-05T18:57:00.000+00:00This only seems to work for an exe project, and gi...This only seems to work for an exe project, and given that you have all of your connection strings in the web config.<BR/><BR/>Do you know of a way to do this for a website project, pulling connection strings from another database/location?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-18669442.post-33782024442024798592009-01-05T18:56:00.000+00:002009-01-05T18:56:00.000+00:00s to only work for an exe project, and given that ...s to only work for an exe project, and given that you have all of your connection strings in the web config.<BR/><BR/>Do you know of a way to do this for a website project, pulling connection strings from another database/location?Anonymousnoreply@blogger.com