This question have been inactivated and are not visible on this site.

REMOVED Why put connection string in web.config?

REMOVED.
I am learning .Net, please help me out regarding this question.

Why do people want to write the connection string in web.config?

Instead we can assign the string to one public variable so that we can access it any where in the application.

What's the advantage of using connection string in web.config?

0 answers