Click to See Complete Forum and Search --> : system.configuration


Debasis Bag
July 31st, 2009, 08:08 AM
Dear Sir,

I want to import system.configuration due to getting information of indiviudal computer,loging user information,application path,database connection etc... In this case which configuration class should I imports. Please help me.




Thanking You


Debasis Bag

Shuja Ali
July 31st, 2009, 02:42 PM
Have you check the documentation on msdn? MSDN has it all, you just need to browse through it and it will take some time till you get a feel of what exactly can be done with classes that are part of System.Configuration namespace.

You actually would want to take a look at App.Config file. This file will hold all the information that your application needs And the ConfigurationManager class would help you in retrieving these settings. Hannes has already pointed you to the correct location on MSDN in your other thread (http://www.codeguru.com/forum/showthread.php?t=481888)