Click here to Skip to main content
16,017,069 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
in windows application(framework3.5)(c#.net),
in that , at one point , i had created the textbox(t1) and button name ="change", my requirement is when i click "change" button another panel(it contains button name= "save" and richtextbox)should be opened. after changing the message in richtextbox , when i click "save" it should be saved in the textbox(t1) for permanently


actually right now i able to save upto time of closing the program only(it means upto the execution time only ) my problem is i want to make it as permanent data in the textbox(t1)
give me an idea

thanq
Posted

Hi,
Save the text into a textfile, database or xml. you can choose to load/change it from there.
Good luck
 
Share this answer
 
This is exactly what your hard drive / database is for. Save your values in a database or in a file.
 
Share this answer
 
use a file or a database to do so,
Like when your data will be in the textbox t1 then save that record in a file by performing some checks like if the length of the textbox is greater than 1 and all. File would be better option if u ask me.

Thanks & Regards
Radix
 
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