如何在报表服务中将数据集设置为数据源 [英] How to set a dataset as datasource in report services

查看:60
本文介绍了如何在报表服务中将数据集设置为数据源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


大家好,



如何设置以编程方式创建的数据集作为报表服务中的数据源?我需要帮助..请建议。



BR,


Jeff

解决方案

对于本地模式报告: LocalReport.DataSources.Add(DataSource)

对于服务器模式报告,因为它将部署到服务器端。因此没有客户端api来设置数据。但是,如果它报告特定的数据源,那么它将嵌入到报告定义文件中。

您可以根据需要修改xml,对吗?


谢谢,
Zuomin

 

Hi to all,

 

How can I set a dataset that where created programmatically as a datasource in report services? I need help.. pls advise.

 

BR,

Jeff

解决方案

For local mode report: LocalReport.DataSources.Add(DataSource)

For server mode report, since it will be deployed to server side. So there is no client side api to set datasouce.

But if it's report specific data source, then it will embed in report definition file.

You can modify xml as you want, right?


Thanks,
Zuomin


这篇关于如何在报表服务中将数据集设置为数据源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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