Results 1 to 2 of 2

Thread: ConfigurationManager

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Location
    Dubuque, IA
    Posts
    134

    ConfigurationManager

    Hi All.

    A little new to the .Net World and was wondering what I might do to fix this issue. When trying to set my DB Connection String in the Config File I get the error message below. I think I understand the message but I can't find the so called 'ConfigurationManager' anywhere. It doesn't show up in intellisence and I'm at a loss as to where I might find it.

    Warning 1
    'Public Shared ReadOnly Property AppSettings() As System.Collections.Specialized.NameValueCollection' is obsolete:
    'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'

    Sorry! forgot to add this: Visual Studio 2005/.NET Framework 2.0

    Thanks a ton

    Gene
    Last edited by Eugenious; Apr 27th, 2006 at 02:15 PM.
    I'm not a bad guy, just bad at being a good guy!

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339

    Re: ConfigurationManager

    Try using the My.Settings namespace in 2005.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width