Hi. I want to store data in the app.config file but not necessarily in key value pairs. This is the structure I want to use:
However, the ConfigurationSettings class and related classes don't seem to be designed for this. Is there some way to do this without naming the file in the code and opening it with the System.xml assembly? Or is there some place which I should be looking for the answer?
Thanks,
Durkin
Code:
<Ceases>
<EirCode value="CPS">
<PackageID value="3007">
<UncancelledCompID value="123" />
<UncancelledCompID value="123" />
<UncancelledCompID value="123" />
</PackageID>
<PackageID value="2000">
<UncancelledCompID value="123" />
</PackageID>
</EirCode>
<EirCode value="WLR">
<PackageID value="2000">
<UncancelledCompID value="123" />
</PackageID>
</EirCode>
</Ceases>
However, the ConfigurationSettings class and related classes don't seem to be designed for this. Is there some way to do this without naming the file in the code and opening it with the System.xml assembly? Or is there some place which I should be looking for the answer?
Thanks,
Durkin