Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loading XML into an ArrayList or web.config?
Message
 
 
À
30/11/2007 08:25:23
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01272358
Message ID:
01272427
Vues:
13
>>I need to load a bunch of names (up to about 15) into an array or arraylist. I would like to know which method is faster:
>>
>>1. Create an xml file of these names and use LoadXml method
>>or
>>2. Add these names into an external web.config file (e.g. my.config)
>>
>>Thank you in advance for any input.
>
>Dmitry,
>Whatever method you choose it would be fast for 15 names:)
>web.config is xml.
>Cetin

Cetin,
What if the customer wants to add one more name? <g> (just kidding).
You are right, I have not thought about web.config being an xml too; good point. I may just do an xml file for the sake of learning; and asking questions here <g>

Thank you for your help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform