SQL server connectivity using ConfigurationManager.ConnectionString
Posted
by Devashri
on Stack Overflow
See other posts from Stack Overflow
or by Devashri
Published on 2010-06-05T15:07:54Z
Indexed on
2010/06/05
15:12 UTC
Read the original article
Hit count: 505
ASP.NET
|database-connection
I am not able to use
String connectionString = ConfigurationManager.ConnectionStrings["DevBackup"].ConnectionString;
I am getting error 'The name 'ConfigurationManager' does not exist in the current context'
I have used namespaces
using System.Data.SqlClient;
using System.Data.Sql;
what should be done..?? Am I missing something..??
© Stack Overflow or respective owner