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
Removing WORM_DOWNAD.AD from Windows 2000 Server SP4
Error Code =0x490 on "System Files Integrity Check and Repair Error Code = 0x490"
Unable to ascend/descend sort on column in table in Access
System.mdw removed, can no longer access my .mdb
Microsoft Access 2007 Connection String
Driver packet invalid
Best practice; Front end Access 2007 Application, updating Back end SQL 2005 DB
Duplicate rows in Datatable
Data Encription
Send Object Problem