17
How Do I get the connection string from the Web Config? I want to Display the database and the server name on to my master ASP.net page(C#).
The connection string in my web.config looks:
<add name="Application_ConnectionString" connectionString="Data Source=ServerName;Initial Catalog=DatabaseName;Persist Security Info=True;Connection Timeout =60;Integrated Security=SSPI" providerName="System.Data.SqlClient"/>