9
Reply

How to set parameter into connection string in config file at runtime

Samio

Samio

May 29 2012 1:59 PM
4.1k
Assuming that storing connection string in a config file is more secure than compiled code,
so I wonder a way to compile only the database name since I have to change it frequently.
I am working with sql server and Entity Framework in windows Forms.
Thanks for your inputs.

Answers (9)