how to read and edit a doc file in asp.net?
- by Nimesh
I have a .doc or .docx file where in after the booking of the hotel room i wanna give the agreement and the receipt in a .doc file.
for this i have a text file,
To, [NAME]
[ADDRESS]
Dear....
...Content;;;...
This will be my .doc file. My idea is to read this .doc file and replace the tags, say.([NAME] and [ADDRESS]) with the user's name and address.
How can i do this in ASP.NET?