在Microsoft本地报告中在运行时添加子报表 [英] Adding subreport at runtime in Microsoft local reports

查看:88
本文介绍了在Microsoft本地报告中在运行时添加子报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



Hi,

我想动态地将子报表添加到Microsoft本地报表并将参数传递给它。我该怎么办?
我可以动态添加任何报表元素吗?

I want to add a subreport dynamically to Microsoft local report and pass a parameter to it. How can I do it?
Can I add any report elements dynamically?

推荐答案

您是否已查看此信息? : http://gotreportviewer.com/masterdetail/index。 html

在本地模式下,您将实现子报表事件回调,该回调返回子报表定义在运行时。不确定你的"动态"是什么意思,但这种回调机制允许一定程度的灵活性。

In local mode, you would implement the subreport event callback which returns the subreport definition at runtime.  Not sure what exactly you mean with "dynamically", but this callback mechanism allows some level of flexibility.

- 罗伯特


这篇关于在Microsoft本地报告中在运行时添加子报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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