运行Excel模板 [英] Run Excel Template

查看:90
本文介绍了运行Excel模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VS2008和ASP.NET 3.5,Office 2003

从ASP.NET网页运行Excel模板的最佳方法是

Excel只安装在没有任何ActiveX的客户端上?如果是这样的话,有人能给我一个例子吗?没有Sharepoint。


这是针对内联网的,安全性并不重要。

谢谢

彼得

解决方案

" Peter" < cz **** @ nospam.nospamwrote in message

news:%2 **************** @ TK2MSFTNGP03.phx.gbl ...


VS2008和ASP.NET 3.5,Office 2003

从ASP.NET运行Excel模板的最佳方法是什么网页是

Excel只安装在没有任何ActiveX的客户端上?如果可以,那么有人会给我一个例子吗?没有Sharepoint。


这是针对Intranet的,安全性并不重要。



你的意思是什么?运行Excel模板......?


你想要跑什么?你想在哪里运行它?

-

Mark Rae

ASP.NET MVP
http://www.markrae.net


从网页我想从共享驱动器打开一个Excel模板和

用包含图片的数据填充它?


使用Java编写实现此目标的最佳方法?

Mark Rae [MVP]" < ma ** @ markNOSPAMrae.netwrote in message

news:OW ************** @ TK2MSFTNGP06.phx.gbl ...
< blockquote class =post_quotes>
" Peter" < cz **** @ nospam.nospamwrote in message

news:%2 **************** @ TK2MSFTNGP03.phx.gbl ...


> VS2008和ASP.NET 3.5,Office 2003

从ASP.NET网页运行Excel模板的最佳方法是什么是否只在没有任何ActiveX的客户端上安装了Excel?如果是这样,有人能指出我的榜样吗?没有Sharepoint。

这是针对Intranet的,安全性并不重要。



你的意思是什么?运行Excel模板...?


你想要跑什么?你想在哪里运行它?


-

Mark Rae

ASP.NET MVP
< a rel =nofollowhref =http://www.markrae.nettarget =_ blank> http://www.markrae.net



"彼得" < cz **** @ nospam.nospamwrote in message

news:uW ************** @ TK2MSFTNGP03.phx.gbl ...


[top-posting更正]


>你的意思是什么? Excel模板...?

你想要运行什么,你想在哪里运行它?



从网页上我想从共享驱动器打开一个Excel模板,并且/ b $ b填充了包含图片的数据?


使用Java Script是实现这一目标的最佳方法吗?



只要您从ASP.NET执行此操作...那将涉及

服务器端Office自动化

Microsoft既不推荐也不支持,因为Office不是以这种方式自动化的:
http://support.microsoft.com/default...US;q257757#kb2
http://support.microsoft.com/default.aspx/kb/ 288367


大概,如果你想打开一个Excel模板并用数据填充它,那就是因为你想要创建它一个Excel工作簿。如果是这样,那么你需要

这个:
http://www.aspose.com/categories/fil...a/default.aspx

-

Mark Rae

ASP.NET MVP
http://www.markrae.net


VS2008 ans ASP.NET 3.5, Office 2003

What is the best way to run Excel Template from ASP.NET web page were the
Excel is only installed on the client without any ActiveX? If so can someone
point me to an example? Do not have Sharepoint.

This is for Intranet and security is not important.
Thank You
Peter

解决方案

"Peter" <cz****@nospam.nospamwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...

VS2008 ans ASP.NET 3.5, Office 2003

What is the best way to run Excel Template from ASP.NET web page were the
Excel is only installed on the client without any ActiveX? If so can
someone point me to an example? Do not have Sharepoint.

This is for Intranet and security is not important.

What precisely do you mean by "run Excel Template"...?

What are you trying to run and where are you trying to run it?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net


From a web page I want to open an Excel Template from a shared drive and
populated it with data in cluding pictures?

Is using Java Script the best way to accomplish this?
"Mark Rae [MVP]" <ma**@markNOSPAMrae.netwrote in message
news:OW**************@TK2MSFTNGP06.phx.gbl...

"Peter" <cz****@nospam.nospamwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...

>VS2008 ans ASP.NET 3.5, Office 2003

What is the best way to run Excel Template from ASP.NET web page were the
Excel is only installed on the client without any ActiveX? If so can
someone point me to an example? Do not have Sharepoint.

This is for Intranet and security is not important.


What precisely do you mean by "run Excel Template"...?

What are you trying to run and where are you trying to run it?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net



"Peter" <cz****@nospam.nospamwrote in message
news:uW**************@TK2MSFTNGP03.phx.gbl...

[top-posting corrected]

>What precisely do you mean by "run Excel Template"...?

What are you trying to run and where are you trying to run it?


From a web page I want to open an Excel Template from a shared drive and
populated it with data in cluding pictures?

Is using Java Script the best way to accomplish this?

Not so long as you''re doing this from ASP.NET... That would involve
server-side Office automation which is neither recommended nor supported by
Microsoft because Office is not designed to be automated in this way:
http://support.microsoft.com/default...US;q257757#kb2
http://support.microsoft.com/default.aspx/kb/288367

Presumably, if you want to open an Excel template and populate it with data,
it''s because you want to create an Excel workbook. If so, then you need
this:
http://www.aspose.com/categories/fil...a/default.aspx
--
Mark Rae
ASP.NET MVP
http://www.markrae.net


这篇关于运行Excel模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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