在asp.net应用程序中打开单词 [英] Opening word in asp.net application

查看:57
本文介绍了在asp.net应用程序中打开单词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

如果我从.aspx页面多次下载单词doc文档,则会从服务器到客户端打开单词doc文档.正确下载4-5次单词,但之后
我尝试进行一些迭代以下载单词doc,然后而不是在客户端窗口中打开单词,而是将我的文档显示为html表单.
我应该怎么做才能解决此问题?

消极的时候,我正在通过
清除内容

Hi All,

i am opening the word doc document from server to client side, if i download the word multiple time from a .aspx page. 4-5 times word download correctly but after
some iteration i am trying to downloading the word doc, then instead of opening the word at client window it shows my doc as an html form.
what should i do to resolve this issue?

evety time i am clearing the content by

Response.ClearHeaders();
 Response.ClearContent();


但这会将我的文档显示为html页面.


but it show my document as an html page.

推荐答案

请参阅以下内容:

http://www.c-sharpcorner.com/UploadFile/mgold/WordFromDotNet11082005235506506PM/WordFromDotNet.aspx [ ^ ]

http://social.msdn.microsoft.com/Forums/zh/csharplanguage/thread/5db48b80-59ec-44e7-afdd-04c53f4526fc [
Refer these:

http://www.c-sharpcorner.com/UploadFile/mgold/WordFromDotNet11082005235506PM/WordFromDotNet.aspx[^]

http://social.msdn.microsoft.com/Forums/en/csharplanguage/thread/5db48b80-59ec-44e7-afdd-04c53f4526fc[^]


这篇关于在asp.net应用程序中打开单词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆