SQL server connectivity using ConfigurationManager.ConnectionString
- by Devashri
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..??