c#中的Word自动化 [英] Word automation in c#
问题描述
我在C#中使用文字自动化应用程序与office interop。现在,当我们转向赢得服务器2008时,它不起作用,也不是微软推荐的。
在我们的应用程序中,用户将从数据库下载模板并合并数据并上传回数据库。
所有模板都在办公室2003(doc)。
我想试试openxml但很困惑但没有成功。任何人都可以使用openxml给出一个明确的c#样本吗?这是一个快速的解决方案吗?
另外我听说openxml不适用于word 2003 docs,那么如何将DB中的所有doc转换为docx?任何实用程序?我在DB中有1000个doc文件。
另外,请分享你使用Aspose的经验,我可以去Aspose吗?它适用于2003年的Word模板吗?
感谢您的回复。
谢谢
问候,
srikanth
Hi, I have application with word automation in C# with office interop. Now as we moved to win server 2008, it not working and not recommended by microsoft.
In our application user will download the templates from DB and merge the data and upload back to DB.
All the templates are in office 2003 (doc).
I want to try openxml but am confused and not successful. Can any one give a clear sample of c# using openxml? Is this a quick solution?
Also I heard openxml doesn't work for word 2003 docs, so how to convert all doc's in DB to docx? any utility available? I have 1000's of doc files in DB.
Also, please share your experience using Aspose, can I go for Aspose?? Will it work for word 2003 templates?
Appreciate your response.
thanks
regards,
srikanth
推荐答案
这篇关于c#中的Word自动化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!