Hi Ed,

Best solution for you is to implement a Config Section of your own and
read it from your own class.

To implement a configsection handler, all you have to do is implement
IConfigurationSectionHandler interface.

If you have msdn you can copy/paste this url it will be helpful :
ms-help://MS.NETFrameworkSDKv1.1/cpguidenf/html/cpconcreatingnewsectionhandlers.htm

Best Regards,
Parag C Mehta,
paragm.com

On 9/22/05, Eddie Lascu <[EMAIL PROTECTED]> wrote:
> Hello experts,
>
> I need to store an array of sets of configuration parameters in my
> app.config file. There are a variable number of such sets, each set having
> the exact structure. Something like this:
>
> <set1>
>    <param1>AAA</param1>
>    <param2>111</param2>
> </set1>
> <set2>
>    <param1>BBB</param1>
>    <param2>222</param2>
> </set2>
> <set3>
>    <param1>CCC</param1>
>    <param2>333</param2>
> </set3>
>
> <!-- more sets added here -->
>
> How do I do this in the <appSettings> section of my app.config file?
>
> ===================================
> This list is hosted by DevelopMentor(r)  http://www.develop.com
>
> View archives and manage your subscription(s) at http://discuss.develop.com
>

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to