J
John.Arthur
Hello,
I have a app.config looking like this :
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="somekey" value="somevalue" />
</appSettings>
</configuration>
And I am geting data from this fail like taht:
ConfigurationSettings.AppSettings["somekey"] ;
But I have a lot identical tag and I want to separate them in different
sub tag like this:
<?xml version="1.0"?>
<configuration>
<appSettings>
<mytag>
<add key="somekey" value="somevalue" />
</mytag>
</appSettings>
</configuration>
And the problem is that I do not know how to access the inner tag.
Can someone help me.
Thanks
I have a app.config looking like this :
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="somekey" value="somevalue" />
</appSettings>
</configuration>
And I am geting data from this fail like taht:
ConfigurationSettings.AppSettings["somekey"] ;
But I have a lot identical tag and I want to separate them in different
sub tag like this:
<?xml version="1.0"?>
<configuration>
<appSettings>
<mytag>
<add key="somekey" value="somevalue" />
</mytag>
</appSettings>
</configuration>
And the problem is that I do not know how to access the inner tag.
Can someone help me.
Thanks