ERROR: Name 'ConfigurationManager' is not declared
-
Hello everyone, I am using VB.NET 2005 and creating a code file in which i have declared a method of connecting to the Databse. In order to implement that I am getting my Database connection string value from web.config defined like this. In the code file I am using ConfigurationManager.ConnectionString("MySqlConn").ToString(), but its giving me error "Name 'ConfigurationManager' is not declared". I have already included System.Configuration namespace at the top. but it continously giving me error. Please guys/gals help me..its urgent.. KHATRI
-
Hello everyone, I am using VB.NET 2005 and creating a code file in which i have declared a method of connecting to the Databse. In order to implement that I am getting my Database connection string value from web.config defined like this. In the code file I am using ConfigurationManager.ConnectionString("MySqlConn").ToString(), but its giving me error "Name 'ConfigurationManager' is not declared". I have already included System.Configuration namespace at the top. but it continously giving me error. Please guys/gals help me..its urgent.. KHATRI