Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
Hi friends,

I already ask this doubt and i get some solutions for my doubt. My doubt how i read a word document in my asp .net website. i got some answers but in that i cant read the word document in the correct format. i want to read the word document in the correct format as we view in the word. is there any solution for my question?

Thanks,
Posted

If you are saying that you want to build a web site that can read a word document, and display (and presumably edit) it exactly as it would be in word, then I'm afraid you have a lot of work to do. And I do mean a lot. As in a couple of million man-hours (that is an educated guess, but it won't be far off what MS have invested so far).

If you aren't, then please clarify your question.
 
Share this answer
 
Comments
sathya.spidy 19-Jan-11 7:34am    
hi friend,
Sorry i didnt mean that i need the whole word operation in my website. i just want to read a word document in my website in the correct format.
vineethnair 19-Jul-13 3:00am    
hi friend u want convert data from database to word document
Read a Word Document[^]which will guide you.
 
Share this answer
 
Re: Read Word Document File from Server and save As this file on server Using Asp.net C#

Dec 17, 2011 10:39 AM | LINK

get Word Document File from

object sourcefilename=server.mappath("path/filename");

read this file by

doc.open(..)

object distnationfilename=server.mappath("path/destinationfilename")

doc.saveas(..)

from jagannath mallik
[Email Removed]
 
Share this answer
 
v2
Comments
fjdiewornncalwe 19-Jan-12 10:25am    
This question is over 1 year old. Please don't revive it now by adding an answer.
You can use the in build MS Interope class libraries which are designed to perform the MS Office operations. These will be useful for you.
 
Share this answer
 
Comments
fjdiewornncalwe 19-Jan-12 10:26am    
This question is over 1 year old. Please don't revive it now by adding an answer.

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