<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Customizing the connection string for TableAdapters</title><link>http://blogs.msdn.com/smartclientdata/archive/2005/07/25/443034.aspx</link><description>Visual Studio 2005 now leverages the strongly typed settings file which wraps app.config. With connection strings stored in app.config/Settings, developers can centralize their connection strings across their application. Some advantages over VS2003 are:</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Customizing the connection string for TableAdapters</title><link>http://blogs.msdn.com/smartclientdata/archive/2005/07/25/443034.aspx#443133</link><pubDate>Tue, 26 Jul 2005 00:03:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:443133</guid><dc:creator>Bill Vaughn</dc:creator><description>If we want to encrypt/decrypt the connection string, are there any suggested &amp;quot;best practice&amp;quot; techniques to use?</description></item><item><title>re: Customizing the connection string for TableAdapters</title><link>http://blogs.msdn.com/smartclientdata/archive/2005/07/25/443034.aspx#452568</link><pubDate>Wed, 17 Aug 2005 12:29:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:452568</guid><dc:creator>MDeevi</dc:creator><description>The DataAdaptor in Beta 1 had a generate WebMethod property. In Beta 2 this property isn't there. I want to know how to web-enable the dataset and update data across the web using the DataSet designer rather than hand coding it, the way I could use the generateWebMethod property. &lt;br&gt;&lt;br&gt;Please let us know whether this feature will be available in VS2005 RTM product. &lt;br&gt;</description></item><item><title>Working with local databases</title><link>http://blogs.msdn.com/smartclientdata/archive/2005/07/25/443034.aspx#456887</link><pubDate>Fri, 26 Aug 2005 23:31:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:456887</guid><dc:creator>Smart Client Data</dc:creator><description>&lt;br&gt;Overview&lt;br&gt;In Visual Studio 2005 we added a number of features to help developers build and deploy applications...</description></item><item><title>Working with local databases</title><link>http://blogs.msdn.com/smartclientdata/archive/2005/07/25/443034.aspx#456947</link><pubDate>Sat, 27 Aug 2005 01:51:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:456947</guid><dc:creator>Smart Client Data</dc:creator><description>&lt;br&gt;Overview&lt;br&gt;In Visual Studio 2005 we added a number of features to help developers build and deploy applications...</description></item><item><title>re: Customizing the connection string for TableAdapters</title><link>http://blogs.msdn.com/smartclientdata/archive/2005/07/25/443034.aspx#514897</link><pubDate>Thu, 19 Jan 2006 20:16:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:514897</guid><dc:creator>Vittorio</dc:creator><description>This is my workaround,  it doesn't need an app.config at runtime:&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/msdn/ShowPost.aspx?postid=210683&amp;amp;isthread=false&amp;amp;siteid=1&amp;amp;authhash=a59c997bbbb849c1b318b58c1bf1a579f9b0bcc5&amp;amp;ticks=632732557629342289"&gt;http://forums.microsoft.com/msdn/ShowPost.aspx?postid=210683&amp;amp;isthread=false&amp;amp;siteid=1&amp;amp;authhash=a59c997bbbb849c1b318b58c1bf1a579f9b0bcc5&amp;amp;ticks=632732557629342289&lt;/a&gt;&lt;br&gt;</description></item><item><title>re: Customizing the connection string for TableAdapters</title><link>http://blogs.msdn.com/smartclientdata/archive/2005/07/25/443034.aspx#541629</link><pubDate>Thu, 02 Mar 2006 02:08:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:541629</guid><dc:creator>Michael Freidgeim</dc:creator><description>In instruction &amp;quot;To add an event handler&amp;quot; step 5 is applicable for VB only.&lt;br&gt;AFAIK Visual Studio doesn't help to create c# &amp;nbsp;event handler and you should do it manually.</description></item><item><title>re: Customizing the connection string for TableAdapters</title><link>http://blogs.msdn.com/smartclientdata/archive/2005/07/25/443034.aspx#541639</link><pubDate>Thu, 02 Mar 2006 02:16:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:541639</guid><dc:creator>Michael Freidgeim</dc:creator><description>Actually &amp;quot;To create an event handler in C#&amp;quot;&lt;br&gt;(from &lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/cwwt2wtw.aspx"&gt;http://msdn2.microsoft.com/en-us/library/cwwt2wtw.aspx&lt;/a&gt;)&lt;br&gt;Create the event delegate in the Constructor of the class by typing the qualified event name followed by a space, and then typing += with no space afterwards. For example:&lt;br&gt;&lt;br&gt;this.&amp;lt;object name&amp;gt;.&amp;lt;event name&amp;gt; += &lt;br&gt;&lt;br&gt;At the end of the line of code, press the TAB key twice.&lt;br&gt;&lt;br&gt;Visual Studio automatically completes the line of code, creates the event handler, and moves the insertion point to the newly created event handler.&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Customizing the connection string for TableAdapters</title><link>http://blogs.msdn.com/smartclientdata/archive/2005/07/25/443034.aspx#559132</link><pubDate>Thu, 23 Mar 2006 21:04:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:559132</guid><dc:creator>Nigel Browning</dc:creator><description>My application needs to be installed from a network location and each user needs to access data from a single network database file (Access by OLEDB). This location is not (and is never likely to be) the same as the location used for development!&lt;br&gt;&lt;br&gt;I cannot believe that any other application is going to need a hard-coded path to its data. Yet, if one is creating a Click-Once installation, that is exactly what happens. If one installs the installation files on a new network, then one cannot edit the application.exe.config file in the deployment as the hash value is then different and the installation fails.&lt;br&gt;&lt;br&gt;I have just spent an entire day attempting to set the |DataDirectory| location at run-time. Eventually, I made a work-around in which I edited the application.exe.config file directly from code when my startup form was loading, saved the changes, then restarted the application.&lt;br&gt;&lt;br&gt;Why on earth was the fact that the |DataDirectory| variable is merely a property of the AppDomain not included in the Visual Studio documentation? Furthermore, why has the on-line documentation not been updated to include this crucial piece of information?</description></item><item><title>re: Customizing the connection string for MY LIFE!</title><link>http://blogs.msdn.com/smartclientdata/archive/2005/07/25/443034.aspx#725065</link><pubDate>Sat, 26 Aug 2006 10:06:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:725065</guid><dc:creator>Ashkan</dc:creator><description>Hi...
I'm a solo programer. I've create a new C# project in VS 2005. I've intall SQL Server 2005 Ent. eddition on my localhost and I'm using it as my database server. 
At VS in "server Explorer" window I create a new data connection to my sql server. Test and OK!
At next step I create a new sqlconnection object to use it in my application. I don't want to use dataset, I need just to add data to my table manually. 
Every thing is good. 
but now I'm trying to deploy my very simple application to destination computer on a network. I JUST NEED TO CHANGE MY COMPUTER NAME TO SQL SERVER NAME ON THAT NETWORK... WHAT SHOUL I DO?
I tried to change .Config file, but it seems these files are using when I'm using "Data Source" in VS2005.


ashkan.email@gmail.com
Thank you.
Ashkan</description></item><item><title>cadenas de conexion desde .NET para SQL Server 2005</title><link>http://blogs.msdn.com/smartclientdata/archive/2005/07/25/443034.aspx#1085316</link><pubDate>Thu, 16 Nov 2006 09:02:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1085316</guid><dc:creator>Sergio Tarrillo's Blog -&gt; enhancements</dc:creator><description>&lt;p&gt;si es que estamos usando SQLExpress, y estamos creando una aplicaci&amp;#243;n .NET para el acceso a datos, hay...&lt;/p&gt;
</description></item><item><title>cadenas de conexion desde .NET para SQL Server 2005</title><link>http://blogs.msdn.com/smartclientdata/archive/2005/07/25/443034.aspx#1085320</link><pubDate>Thu, 16 Nov 2006 09:03:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1085320</guid><dc:creator>SergioTarrillo's Blog </dc:creator><description>&lt;p&gt;si es que estamos usando SQLExpress, y estamos creando una aplicaci&amp;#243;n .NET para el acceso a datos, hay&lt;/p&gt;
</description></item><item><title>Visual Studio and local databases &amp;laquo; The eagle on the stone</title><link>http://blogs.msdn.com/smartclientdata/archive/2005/07/25/443034.aspx#3991659</link><pubDate>Sat, 21 Jul 2007 20:40:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3991659</guid><dc:creator>Visual Studio and local databases « The eagle on the stone</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://arnulfo.wordpress.com/2007/07/21/visual-studio-and-local-databases/"&gt;http://arnulfo.wordpress.com/2007/07/21/visual-studio-and-local-databases/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Modificare le Settings con scope Application</title><link>http://blogs.msdn.com/smartclientdata/archive/2005/07/25/443034.aspx#8682979</link><pubDate>Thu, 03 Jul 2008 10:55:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8682979</guid><dc:creator>Ermanno Goletto</dc:creator><description>&lt;p&gt;Modificare le Settings con scope Application&lt;/p&gt;
</description></item><item><title>How to : Programmatically change Connection String &amp;laquo; Iuvo</title><link>http://blogs.msdn.com/smartclientdata/archive/2005/07/25/443034.aspx#9525882</link><pubDate>Wed, 01 Apr 2009 11:49:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9525882</guid><dc:creator>How to : Programmatically change Connection String &amp;laquo; Iuvo</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://iuvo.wordpress.com/2009/04/01/how-to-programmatically-change-connection-string/"&gt;http://iuvo.wordpress.com/2009/04/01/how-to-programmatically-change-connection-string/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Working with local databases</title><link>http://blogs.msdn.com/smartclientdata/archive/2005/07/25/443034.aspx#9713663</link><pubDate>Tue, 09 Jun 2009 10:17:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9713663</guid><dc:creator>老许</dc:creator><description>&lt;p&gt;Workingwithlocaldatabases&lt;/p&gt;
&lt;p&gt;Overview&lt;/p&gt;
&lt;p&gt;InVisualStudio2005weaddedanumberoffeaturestohelp...&lt;/p&gt;
</description></item></channel></rss>