Difference in ConfigurationSettings in Vs Net 2005 vs 2003

hi
i am using vs.net 2005 and i am using web.config
when i do this in vb.net
 Dim strConn As String = ConfigurationSettings.AppSettings("OraConn")

it comes as underline (but no error otherwise) that ConfigurationSettings is obsolete...seems there is some new way to use the same thing in 2005 version?
LVL 1
samir25Asked:
Who is Participating?
 
sabeeshConnect With a Mentor Commented:
ConfigurationManager.AppSettings("OraConn")

Use this
0
 
samir25Author Commented:
ok ..byt what is the diff bet ween the 2?
thanks
0
 
renjurdevanCommented:
go through link

http://msdn2.microsoft.com/en-us/library/system.configuration.configurationmanager.appsettings.aspx

ConfigurationManager.AppSettings("OraConn") used to get values stored in applicationsettings in web.config where name = OraConn

Regards
Renju
0
 
samir25Author Commented:
yah but what is the difference based on what i asked
0
 
joechinaConnect With a Mentor Commented:
There is no difference for now.
It's just a warning that ConfigurationSettings is obsolete and in furture .net release it might not be included.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.