Deleting Content of a text file

  • Thread starter Thread starter GMK
  • Start date Start date
G

GMK

Dear all
in my asp.net application i have a text file that is installed with my
application on the server.
this text file is filled with data through a web interface in my
application.
i need to know how could i update this text file programatically and using a
web interface.
what i need is not to over write the content of the text file but to delete
it's content and then write a new content.
id there any way to do this?
thank you.
 
well this could be a way to solve my problem but when ever you intall your
application using a setup project and then you want to uninstall it the text
file created by your apllication will not be removed becasue it wasn't a
part of the setup.
so i have to include my text file with the setup it will be empty, the user
will fill it but when i want to update i have to delete it's content without
deleting the phisycal text file.
 
Back
Top