On Nov 6, 1:39*pm, "Mark Rae [MVP]" <m...@markNOSPAMrae.netwrote:
"shapper" <mdmo...@gmail.comwrote in message
news:46**********************************@a29g2000 pra.googlegroups.com...
What am I doing wrong?
Mismatching objects...
System.Configuration.Configuration config =
ConfigurationManager.OpenExeConfiguration(Configur ationUserLevel.None);
AppSettingsSection appSettingSection =
(AppSettingsSection)config.GetSection("appSettings ");
--
Mark Rae
ASP.NET MVPhttp://www.markrae.net
But I am building a custom Web.Config section and I am using the
following to get my section:
object projSetings =
ConfigurationManager.GetSection("projSettings");
So I though I could use it directly only by setting the type. I am
going to try your approach ...
I am having troubles with my custom configuration section and no one
is able to answer me ... I will try something else and probably post a
new thread about it.