在Excel Web Access Web部件中动态更改工作簿 [英] Dynamically change workbook in Excel Web access web part

查看:65
本文介绍了在Excel Web Access Web部件中动态更改工作簿的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在MOSS中的同事开发者遇到以下问题,
CPins请帮助他解决此问题,

自最近几天以来,我正在研究Excel Web Access Web部件.
然后我面临一个问题.那我们如何才能根据其他控件动态地更改工作簿?
意味着我有一个下拉列表控件,该控件与文档库的名称"字段绑定,因此它显示了位于文档库中的所有文件.而且此文档库路径也位于受信任的位置.
因此,当我从下拉列表中选择任何名称时,该工作簿应显示在我的Excel Web Access Web部件中."

如果有人知道如何执行此操作,请帮助我.

My Collegue devloper in MOSS having following problem,
CPins Please Help him to solve this issue,

"Since last few days I am working on Excel Web Access Web Part.
Then I face one problem. That How can we change workbook dynamically depending on some other control?
Means suppose I have a DropDown List Control which is bind with Document Library''s Name field so it display all files located in Document Library. And also this Document Library path is in trusted location.
So when I select any name from DropDown List that workbook should be displayed in my Excel Web Access web part."

If any one know how to do this please help me.

推荐答案

私有无效Page_Load(对象发送者,System.EventArgs e)
{
m_excelWebRenderer.WorkbookUri =<<<工作簿的路径>>> ;
}

希望对您有帮助
private void Page_Load(object sender, System.EventArgs e)
{
m_excelWebRenderer.WorkbookUri = <<< Path to the workbook >>> ;
}

I hope this help


这篇关于在Excel Web Access Web部件中动态更改工作簿的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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