9
Answers

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

Samio

Samio

12y
4.1k
1
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)