visual-studio-2010 - VS.NET 2010 中是否弃用了 SQL Reporting Services 报表参数?

标签 visual-studio-2010 reporting-services reportviewer

我们在 ASP.NET Web 应用程序中使用 Reporting Services。 (我们有一个 *.rdlc,它会呈现给我们页面中的 ReportViewer Web 控件)。我们的 ASPX 页面在代码中连接了一些报告参数:

var parameters = new List<ReportParameter>();
parameters.Add(new ReportParameter("StoreAddress", InvoiceStoreAddress));
parameters.Add(new ReportParameter("LogoURL", InvoiceLogoURL));
parameters.Add(new ReportParameter("StoreName", InvoiceStoreName));
ReportViewer1.LocalReport.SetParameters(parameters);

这些只是传递给报表的一般参数,而不是将其连接到数据源。

最近我们升级到了VS.NET 2010。我们把*.rdlc升级到了最新版本,也升级了ASP.NET使用的ReportViewer控件。一切都像以前一样工作。

但是,我现在想向我的 *.rdlc 添加一个新的报告参数。我通常右键单击左上角,然后单击“报告参数”来添加它。使用新的 VS.NET,我在任何地方都找不到此选项 - 它甚至不在报告属性中。

它去了哪里?他们是否弃用此功能?我现在应该如何传递一些通用参数?

最佳答案

“查看->报告数据”菜单打开一个包含报告参数的工具窗口。

关于visual-studio-2010 - VS.NET 2010 中是否弃用了 SQL Reporting Services 报表参数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2883875/

相关文章:

c# - C# 中多个数据集 Winform 项目的 RDLC 问题

visual-studio-2010 - 如何在VS 2010中禁用缩进虚线

wpf - 尝试在Visual Studio 2010中创建的Expression-Blend 4中打开WPF项目时遇到问题

reporting-services - 如何拆分全名字段(报表生成器)

asp.net - ReportViewer 11 与 IE 11 : report height exceeds limits

c# - ASP.Net ReportViewer - 无法隐藏文档结构图

c++ - 如何在 OnInitDialog 函数中最小化 MFC 应用程序?

visual-studio-2010 - Visual C++ 2010 的惰性 C++ (LZZ) 规则文件

ssrs-2008 - ssrs 报告中的格式编号

reporting-services - SSRS 报告管理器报告名称