Samio

Samio

  • NA
  • 201
  • 176.7k

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

May 29 2012 1:59 PM
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)