SSRS动态共享数据源

SSRS动态共享数据源

本文介绍了SSRS动态共享数据源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ASP.Net网站,该网站使用Microsoft Report Viewer控件显示各种SSRS报告。我需要能够在运行时指定数据源。呈现报表时,似乎应该可以仅指定共享数据源的名称,但是我确定找不到解决方法。到目前为止,我发现唯一可行的方法是使用嵌入式数据源。我不是真的对此感到疯狂,但是如果那是我唯一的选择,那就必须这样做。

I have an ASP.Net Web site that displays various SSRS reports using the Microsoft Report Viewer Control. I need to be able to specify a data source at runtime. It seems like I should be able to just specify the name of a "shared" data source when I render the report, but I sure can't find a way to do that. The only thing I've found so far that works is to use an "embedded" data source. I'm not real crazy about that, but if that's my only option it will have to do.

有人知道如何在运行时指定共享数据源吗?

Anybody know how to specify a shared data source at runtime?

推荐答案

这个问题有点老了,但是如果已经有自定义应用程序正在访问SSRS,则会报告此可能是一个很好的解决方案。

This question is a little old, but if there is already a custom app accessing SSRS reports this Code Project might be a good solution.

这篇关于SSRS动态共享数据源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 18:04