如何在ASP.NET网站中以正确的Word文档格式阅读Word文档

问题描述:

朋友们,

我已经提出了这个疑问,并为我的疑问提供了一些解决方案.我怀疑我如何在asp .net网站上阅读Word文档.我得到了一些答案,但是我无法以正确的格式阅读Word文档.我想以正确的格式阅读Word文档,因为我们在Word中查看该文档.我的问题有什么解决办法吗?

谢谢,

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,

如果您要建立一个可以读取Word文档并完全显示(并编辑)该Word文档的网站,言归正传,那么恐怕您还有很多工作要做.我的意思很重要.就像在数百万个工时中一样(这是有根据的猜测,但这与MS迄今为止的投资并不遥不可及).

如果不是,那么请澄清您的问题.
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.


^ ]将指导您.


回复:从服务器读取Word文档文件,并使用Asp.net C#将其另存为服务器上的文件

2011年12月17日,上午10:39 |链接


获取Word文档文件
对象sourcefilename = server.mappath("path/filename");

通过
读取此文件
doc.open(..)

对象distnationfilename = server.mappath("path/destinationfilename")

doc.saveas(..)

来自jagannath mallik
[电子邮件已删除]
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]