Storing and Retrieving Values from App Config

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • durai1117
    New Member
    • Sep 2007
    • 2

    Storing and Retrieving Values from App Config

    i want one help from u friends

    my requirement is to store 2 values in app.config file

    i dnt know how to store in it.

    and next thing is i have to get that values and

    with that values i have to call functions depending upon the values that i get.

    for example

    if i store 2 values like


    1) key="name" , value="sankar"


    2) key="name1",val ue="kumar"


    depending upon the values


    if he is sankar ,then call functionfirst() ;

    if he is kumar ,then call functionsecond( );


    how to achieve this, let me have ur suggestions friends.

    thanks
    durai.
  • dip_developer
    Recognized Expert Contributor
    • Aug 2006
    • 648

    #2
    Originally posted by durai1117
    i want one help from u friends

    my requirement is to store 2 values in app.config file

    i dnt know how to store in it.

    and next thing is i have to get that values and

    with that values i have to call functions depending upon the values that i get.

    for example

    if i store 2 values like


    1) key="name" , value="sankar"


    2) key="name1",val ue="kumar"


    depending upon the values


    if he is sankar ,then call functionfirst() ;

    if he is kumar ,then call functionsecond( );


    how to achieve this, let me have ur suggestions friends.

    thanks
    durai.
    Storing and Retrieving Values from App Config

    Comment

    Working...