Cerebrus
unread,May 16, 2008, 12:39:50 PM5/16/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
As Joe and Jamie promptly pointed out, your code is gross and prone to
error. The AppSettings property exposes a readonly NameValueCollection
so what is the point of having a key-value pair if you are not going
to access the value using the key ? In any case, in .NET 2.0, you
should be using the ConfigurationManager.AppSettings, because
ConfigurationSettings is obsolete.