Click here to Skip to main content
15,902,939 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to be saved last value of a label text and a textbox permannently such that with closing form or program and runnning again, the value of them equal to the last value is changed.
Is it possible without use of any file or DB?How can I do it?
Posted
Updated 23-Aug-15 20:13pm
v3

Well, given those constraints, I'd use the Registry ...

Read, write and delete from registry with C#[^]

[edit] a smart person would create a settings abstraction using interfaces etc that could save the entries to the registry, a file, a database etc [/edit]
 
Share this answer
 
v2
"Is it possible without use of any file or DB?"

No.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900