Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
In my application when a button is click the status is saved in the text document.

When i click button one moretime the status is saved in the text document along with the previous status.

Now i want to remove the previous status in the text document.

I am using C# windows forms.


Can anyone help me to solve this problem.


Thanks,
Karthik.
Posted
Comments
Sergey Alexandrovich Kryukov 7-Mar-14 1:28am    
What's wrong with reading standard MSDN documentation?
—SA
Jim Meadors 7-Mar-14 1:29am    
It would help if you included the code you are using for your text and how it is getting saved.
Maciej Los 7-Mar-14 2:41am    
Do not expect an answer without any portion of code you have tried till now.

1 solution

Please see: http://msdn.microsoft.com/en-us/library/system.windows.forms.textboxbase.clear(v=vs.110).aspx[^].

Do you have any clue on grand total number public methods and properties in whole .NET FCL? If you are going to ask a separate question on each property you did not bother to find, it won't get you far.

—SA
 
Share this answer
 
v2

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