i was writing a httphandler(class library project ofcourse), i needed to log a value into the db, so i needed a connection string from the web.config, i imported the namespce(System.Configuration) in to the class and all i could do was only access the AppSetting part of the config file.
In order to access the connection strings add a reference to the System.Configuration.dll to the project.
Strange......
No comments:
Post a Comment