C# Programming
01-08-2010, 01:51 PM
I want to set up a config section in my app.config that looks something like below:
But I don't understand how to the custom configuration class need to look like in order to get this to work. I found the below link:
http://devlicio.us/blogs/derik_whittaker/archive/2006/11/13/app-config-and-custom-configuration-sections.aspx[^ (http://devlicio.us/blogs/derik_whittaker/archive/2006/11/13/app-config-and-custom-configuration-sections.aspx)]
But in that sample it looks like below:
You see that there is a difference: The element names in the collection are named 'add'. I want the to have a custom name (like 'Database'). It's more clear to me. How would I proceed to achieve that?
Thanks for help!
But I don't understand how to the custom configuration class need to look like in order to get this to work. I found the below link:
http://devlicio.us/blogs/derik_whittaker/archive/2006/11/13/app-config-and-custom-configuration-sections.aspx[^ (http://devlicio.us/blogs/derik_whittaker/archive/2006/11/13/app-config-and-custom-configuration-sections.aspx)]
But in that sample it looks like below:
You see that there is a difference: The element names in the collection are named 'add'. I want the to have a custom name (like 'Database'). It's more clear to me. How would I proceed to achieve that?
Thanks for help!