Click here to Skip to main content
15,888,977 members
Home / Discussions / C#
   

C#

 
QuestionStore value in application instead of database Pin
cocoonwls22-Jan-07 18:04
cocoonwls22-Jan-07 18:04 
AnswerRe: Store value in application instead of database Pin
Parwej Ahamad22-Jan-07 18:21
professionalParwej Ahamad22-Jan-07 18:21 
AnswerRe: Store value in application instead of database Pin
Christian Graus22-Jan-07 18:59
protectorChristian Graus22-Jan-07 18:59 
GeneralRe: Store value in application instead of database Pin
cocoonwls22-Jan-07 19:23
cocoonwls22-Jan-07 19:23 
GeneralRe: Store value in application instead of database Pin
Christian Graus22-Jan-07 19:43
protectorChristian Graus22-Jan-07 19:43 
GeneralRe: Store value in application instead of database Pin
cocoonwls22-Jan-07 20:00
cocoonwls22-Jan-07 20:00 
GeneralRe: Store value in application instead of database Pin
Christian Graus22-Jan-07 20:03
protectorChristian Graus22-Jan-07 20:03 
GeneralRe: Store value in application instead of database [modified] Pin
bobsugar22222-Jan-07 22:09
bobsugar22222-Jan-07 22:09 
Further to this.

If you are using C#, expand Properties in Solution Explorer and open Settings.settings. Add your settings here. Access your settings in-code with:
something = Properties.Settings.Default.MySetting
or
something = Properties.Settings.Default["MySetting"];

if you have edited User settings during runtime and wish to save them, call:
Properties.Settings.Default.Save();

User settings:
*Can be changed and saved during runtime.
*Get stored in ...\Documents and Settings\Application Data\<appname>

Application settings:
*Cannot be edited during runtime.
*Get stored in the application folder.


-- modified at 4:30 Tuesday 23rd January, 2007
AnswerRe: Store value in application instead of database Pin
aSarafian23-Jan-07 1:05
aSarafian23-Jan-07 1:05 
Questionnewbie: How to implent Back button on Treeview selections Pin
Monika Dotnet Newbie22-Jan-07 17:55
Monika Dotnet Newbie22-Jan-07 17:55 
AnswerRe: newbie: How to implent Back button on Treeview selections Pin
Parwej Ahamad22-Jan-07 18:18
professionalParwej Ahamad22-Jan-07 18:18 
AnswerRe: newbie: How to implent Back button on Treeview selections Pin
Mircea Puiu22-Jan-07 21:39
Mircea Puiu22-Jan-07 21:39 
GeneralRe: newbie: How to implent Back button on Treeview selections Pin
bobsugar22223-Jan-07 3:41
bobsugar22223-Jan-07 3:41 
Questiondatabase updation Pin
raju_net181822-Jan-07 17:14
raju_net181822-Jan-07 17:14 
AnswerRe: database updation Pin
Christian Graus22-Jan-07 17:25
protectorChristian Graus22-Jan-07 17:25 
GeneralRe: database updation Pin
raju_net181822-Jan-07 17:33
raju_net181822-Jan-07 17:33 
GeneralRe: database updation Pin
Christian Graus22-Jan-07 17:37
protectorChristian Graus22-Jan-07 17:37 
GeneralRe: database updation Pin
raju_net181822-Jan-07 17:42
raju_net181822-Jan-07 17:42 
GeneralRe: database updation Pin
raju_net181822-Jan-07 21:46
raju_net181822-Jan-07 21:46 
Questiongetting a dataset of affected records,using an ExecuteNONQuery OleDbCommand Pin
dsovino22-Jan-07 15:23
dsovino22-Jan-07 15:23 
AnswerRe: getting a dataset of affected records,using an ExecuteNONQuery OleDbCommand Pin
Guffa22-Jan-07 19:30
Guffa22-Jan-07 19:30 
GeneralRe: getting a dataset of affected records,using an ExecuteNONQuery OleDbCommand Pin
aSarafian23-Jan-07 1:06
aSarafian23-Jan-07 1:06 
AnswerRe: getting a dataset of affected records,using an ExecuteNONQuery OleDbCommand Pin
Guffa23-Jan-07 5:36
Guffa23-Jan-07 5:36 
GeneralRe: getting a dataset of affected records,using an ExecuteNONQuery OleDbCommand Pin
aSarafian23-Jan-07 7:51
aSarafian23-Jan-07 7:51 
GeneralRe: getting a dataset of affected records,using an ExecuteNONQuery OleDbCommand Pin
Guffa23-Jan-07 12:23
Guffa23-Jan-07 12:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.