473,387 Members | 1,463 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

ConfigurationElementCollection

Hello,

I have a property of type ConfigurationElementCollection.
How can I find an item with a given name?

Thanks,
Miguel

Jun 22 '07 #1
1 1511

shapper wrote:
Hello,

I have a property of type ConfigurationElementCollection.
How can I find an item with a given name?

Thanks,
Miguel
Hi,

No need to answer, I just solved my problem.

Thanks,
Miguel

Jun 22 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Mark Olbert | last post by:
I'd like to create a ConfigurationSection to handle something that looks like this: <SiteSettings> <site name="develop" smtp="mail.arcabama.com" host="localhost"> <mappings> <membership...
5
by: Water Cooler v2 | last post by:
I know that we can add a single name value entry in app.config or web.config in the configuration/configSettings/appSettings section like so: <add key="key" value="value" /> Question: I want...
8
by: Droopy | last post by:
Hi, I would like to configure some device connections through app.config. I created the following config file but it fails because I have the same section more than once : <?xml version="1.0"...
1
by: Michael Lang | last post by:
Any suggestions on how you can load an arbitrary number of unknown attributes on an element in a custom section in the .config into a NameValueCollection ? Basically I want to do something...
4
balabaster
by: balabaster | last post by:
Okay, I decided that I needed to understand the whole custom configuration file bits and so I've spent some time playing around with it. It seems (in the most) relatively straight forward. However,...
1
by: shapper | last post by:
Hello, I have the following code:     MySection sect = System.Configuration.ConfigurationManager.GetSection(Name) as MySection;     foreach (Person p in sect.People) {        ...
1
by: shapper | last post by:
Hello, I am creating a custom configuration section but I keep having the error: Unrecognized attribute 'Type'. Note that attribute names are case- sensitive. (...\web.config line 42) Line...
2
by: shapper | last post by:
Hello, On a custom Web.Config section I keep having the same error. This is driving me crazy!!! I keep having the following error: Unrecognized attribute 'Type'. Note that attribute names are...
0
by: captainB | last post by:
greetings! In my asp.net application, I created a custom section in web.config that contain strings that are quotes to display in my home page. Every request for my home page (default.aspx) grabs a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.