Deleting Content of a text file

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.
 
G

GMK

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top