Reputation: 30313
In asp.net, I saw some of web application they are maintaing the connection string in drives of the system, i mean they are storing the connection string in system drives like c:, D: drive. how can i store the connection string in the system drives. please help me.
Upvotes: 0
Views: 98
Reputation: 91480
Are you talking about the configSource attribute for the connectionStrings element? You can then store config settings in separate config files, relative to your app folder.
http://msdn.microsoft.com/en-us/library/ms254494(v=vs.80).aspx
There's a related Stack Overflow topic here:
.NET Config Files configSource outside the application directory folder
Upvotes: 1