如何在aspx页面上显示doc文件 [英] How can show a doc file on the aspx page

查看:106
本文介绍了如何在aspx页面上显示doc文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Experts,

我对它的工作有点困惑。

我在数据库中有一个文档文件路径,并且在相关文件夹中有文件

我想在aspx页面上显示doc文件,该路径来自数据库。

现在我尝试了很多方法来使用它

1:在iframe中显示

{

iframe1.Attributes [src] =path;

//但这不是工作

}

2:我没有在html5中使用它与对象和数据源这不是从c获取文件路径#

3:i有一个尝试过的另一个解决方案。对我来说很复杂

但我试过这个步骤我试图将doc文件转换成html然后它显示在网页上与iframe

可能是工作

但是当我从数据库给出路径然后这不起作用



可以任何人建议解决它我怎么能来它呢



注意:*我怎么能路径来自数据库时显示网页上的文档文件?

Hello Experts,
I am little bit confuse for work on it.
I have a document file path in database and having files in related folders
and i want to just show the doc file on the aspx page which path is come from the database.
now i have tried many ways to use it
1:Show in the Iframe
{
iframe1.Attributes["src"]="path";
//but this is not work
}
2: i am not use it in html5 with object and datasource this is not getting file path from c#
3:i have a tried another solution for it.it is complex for me
but i tried
in this step i am trying to convert doc file to html then it show in the webpage with iframe
may be it is work
but when i give the path from database then this is not working

can any one suggest to solve it how can i come from it

Note:* how can i show the documents files on the webpage when path come from the database?

推荐答案

检查这个...

在网页(asp.net)中显示word文档 [ ^ ]
check this ...
Display word document in web page(asp.net)[^]


请查看以下链接



点击我 [ ^ ]
please check the below link

Click me[^]


解决方案 [ ^ ]


这篇关于如何在aspx页面上显示doc文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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