简体   繁体   English

ASP.NET中的Crystal Report在输入所有参数之前有active expensive query report

[英]Crystal Report in ASP.NET has active expensive query report before all parameters entered

I have an ASP.NET web application that uses Crystal Reports.我有一个使用 Crystal Reports 的 ASP.NET web 应用程序。 I can run the report from within the application.我可以从应用程序中运行报告。 For the reports that require input, when the dialog comes up from CR to input the parameters, an entry in the SQL Server database Activity Monitor "Active Expensive Queries" appears and does not go away until I kill the process.对于需要输入的报告,当对话框从 CR 出现以输入参数时,SQL 服务器数据库活动监视器中的一个条目“Active Expensive Queries”出现并且在我终止进程之前不会消失 go。 Is there some reason for this?这有什么原因吗? Why is the query in the middle of being executed before the parameters have even been inputted?为什么在输入参数之前查询正在执行中?

Any insight would be greatly appreciated.任何见解将不胜感激。

If one of the parameters is dynamic (list of parameter values populated from the database) a query must be launched BEFORE the parameter dialog is displayed.如果其中一个参数是动态的(从数据库中填充的参数值列表),则必须在显示参数对话框之前启动查询。

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

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