473,396 Members | 1,847 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,396 software developers and data experts.

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",value="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.
Sep 21 '07 #1
1 1429
dip_developer
648 Expert 512MB
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",value="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
Sep 24 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Paul C-T | last post by:
Hi, Am I trying to be too clever here? I am trying to write a PHP page to enable me to enter values into a form then write those values to a text file. I want to use the form & table that...
7
by: Brian Wallis | last post by:
This may be a FAQ,but I cannot find it. I want to save user preferences, window sizes, recently opened file names, etc for a python application and I am looking for a package that does this in a...
0
by: mrT | last post by:
Hi, My latest web project includes loads of user-customisable features, lots of which are on/off values. Currently I'm storing each one of the 15 or so properties in tinyint fields, as 1s or 0s....
3
by: D. Dante Lorenso | last post by:
I want to store config file keys and values in my PG database in order to 1) be able to INSERT/UPDATE/DELETE configuration settings without a flat file and 2) give access to the config settings...
1
by: Maileen | last post by:
Hi, my application use a connectionstring to a database. I would like to know what is the best solution to store to connectionstring and to avoid to ask everytime to user to enter it, user...
3
by: Brad | last post by:
I am storing an array which contains about a dozen chracter items to a Session variable. Later, I need to use this array so I am doing the following: Dim eventTypes As String() =...
10
by: Dan | last post by:
I use the settings grid to create a setting named "ServerName". Now i want to retrieve it in code and i can't figure out how. This should be incredibly obvious but i cant get it. I have tried...
6
by: yasodhai | last post by:
Hi, I used a dropdown control which is binded to a datagrid control. I passed the values to the dropdownlist from the database using a function as follows in the aspx itself. <asp:DropDownList...
4
by: =?Utf-8?B?YmFzdWxhc3o=?= | last post by:
Hi; I want to store a datatable (or an arraylist) as a session variable but when I try; Session = al_RecNo; I get an error that; "Cannot implicitly convert type...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.