Application.Config and Array Values?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dm3281

    Application.Config and Array Values?

    Hello, I am in the process of writing a service using C# and need to store a
    list of customer numbers within the application.con fig. I can have over 200
    customer numbers.

    My service program will scan specific foldres based on the customer number.

    How can I store this information in the application.con fig file?

    I was trying to avoid having one value that used a comma-separated list. Or
    is there a way to have a multi-line?

    I need something like

    G100BC
    G110BC
    G231BC
    G342BC
    G465BC
    G778BC
    G893BC
    ....
    G999BC

    Any help or guidance would be appreciated.


  • Mr. Arnold

    #2
    Re: Application.Con fig and Array Values?


    "dm3281" <dm3281@nospam. netwrote in message
    news:BDD3EA1C-0F24-4ABB-AB63-9A8281FA5435@mi crosoft.com...
    Hello, I am in the process of writing a service using C# and need to store
    a list of customer numbers within the application.con fig. I can have over
    200 customer numbers.
    >
    My service program will scan specific foldres based on the customer
    number.
    >
    How can I store this information in the application.con fig file?
    >
    I was trying to avoid having one value that used a comma-separated list.
    Or is there a way to have a multi-line?
    >
    I need something like
    >
    G100BC
    G110BC
    G231BC
    G342BC
    G465BC
    G778BC
    G893BC
    ...
    G999BC
    >
    Any help or guidance would be appreciated.
    >
    >
    You could also use a hash table as opposed to an array.



    Comment

    Working...