website-database connectivity using web.config

website-database connectivity using web.config Today, we will learn database connectivity using web.config <connectionStrings> property. The main advantage of using connection string in web.config are: Security– Web.config file is the configuration file which stores all the server setting required for the web application. And IIS server never allows to browse or view web.config file through browser. So