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
Delphi to VB.NET
hp laserjet IIID drivers request
What does an MFC resource file with texts of more than one language look like?
Invalid length for a Base-64 char array
Disable menu items on switchboard
Adding a DLL reference
Sorting a Grid View Column
Pass a selected range of cells as a paramter to a procedure
How to disable the Open File - Security Warning on Windows 7
how to hide a printer