Microsoft
Software
Hardware
Network
Question : Create a Custom Configuration Section with a collection of elements
Hello, I would like to figure out how one would make a Custom Configuration Section with a collection of elements inside it.
It would look similiar to this:
That is how I would like it to look. I understand how to make it look like this:
However, I would not like it to look like that, I would like it to look like my first example and I can't seem to figure it out. I mean the ConnectionString configuration section also looks like my example. Could somebody point me to the right direction?
Please guys, look at my first example. That is how I want it to look, I understand how to make it look like my second example and I don't want that sort of schema.
Anybody know or have a tutorial I can look at to reach this goal?
Answer : Create a Custom Configuration Section with a collection of elements
You would use the following:
A sub class of ConfigurationElementCollec
tion and give it this attribute:
[ConfigurationProperty("",
IsDefaultCollection = true)]
Random Solutions
OrkAudio
exchange 2007
Timer function to automate Access
Extract data from XML using sql server 2005Question
Linking Excel to Access databas
How to sum (distinct values) in Access Report
no default printer being set for terminal services 2008
Two email servers (incoming), one computer, different results. Why?
How do I specify the entry point for a dll written in vb.net?
I can't get the Ajax script manager to be recognized by visual studio 2005??