I’ve a web service,which used to access a excel file from a root directory(at run time I’m uploading an excel file from the file upload control and saving to project root directory). after i did some changes in the file,then I’ve to save back to a different folder(out side of the project root folder). if there is any functionality exists to save a file using web service?
Share
Saving a File with a webservice is just the same as saving a file anywhere.
Everything you need will be in the class
If you want to modify the excel file you will need to look into the Microsoft 12 (or 14) Interop Library.
However you will need to make sure the appropriate Microsoft dll’s are registered. You can do this by just installing microsoft office on the production machine. However the best way would be to find out the exact files needed and register them.