P
Paul
I've searched long and hard to find one in VB.NET, but cannot.
I'm looking for some sample code to read a simple app.config file like
the one below. But I cannot find any that work. I found code to read
a custom configuration section that worked, but it did not have a
collection like I need. Can anyone help me?
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="MySettings" type="ConsoleApplication9.MySettings"/>
</configSections>
<MySettings>
<Customers>
<Customer Name="Brian" Age="31"/>
<Customer Name="Jeremy" Age="29"/>
</Customers>
</MySettings>
</configuration>
I'm looking for some sample code to read a simple app.config file like
the one below. But I cannot find any that work. I found code to read
a custom configuration section that worked, but it did not have a
collection like I need. Can anyone help me?
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="MySettings" type="ConsoleApplication9.MySettings"/>
</configSections>
<MySettings>
<Customers>
<Customer Name="Brian" Age="31"/>
<Customer Name="Jeremy" Age="29"/>
</Customers>
</MySettings>
</configuration>