简体   繁体   English

如何避免SQL Server Reporting Services报表中的参数值缓存

[英]How to avoid parameter values cache in SQL Server Reporting services Report

SQL Server report keeps parameter values in cache. SQL Server报告将参数值保留在缓存中。 I am populating parameter values from database. 我正在从数据库填充参数值。 If we reopen the report, the same parameter values are listed even if there is change in parameter values in database. 如果我们重新打开报告,即使数据库中的参数值发生变化,也会列出相同的参数值。 Can we avoid this behavior? 我们可以避免这种行为吗? I am using WebForms version of ReportViewer control to view reports. 我正在使用WebForms版本的ReportViewer控件来查看报告。

我在ReportViewer控件所在的页面上添加了<%@ OutputCache Location =“ None”%>,并且它可以正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM