Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Store Connection String
Message
From
01/11/2008 05:51:32
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01358780
Message ID:
01358847
Views:
22
>>How can I store a DB connection string with my C# project? I have different string determined by where I'm working at, so I'd like make it work around that.
>
>The application's web.config file is the recommended location. I'm pretty sure you can encrypt the connection string (or is it the entire file?).

FWIW, you can encrypt specific sections. http://www.codeproject.com/KB/aspnet/webconfig.aspx has a VB example
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform