reference the System.Configuation Namespacehere is a good link for thishttp://msdn.microsoft.com/en-us/library/ff650091.aspx hope this will help you