Reportviewer刷新问题 [英] Reportviewer refresh problem

查看:120
本文介绍了Reportviewer刷新问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好
我有一个ReportViewer.报告第一操作数据的接收和显示数据.但是,如果在程序流程中报告对数据的任何更改,则自身不会刷新.

hello
I have a ReportViewer. Report the first operation data receiving and displaying data. If, however, report any changes to the data during the program flow does not refresh itself. How can I solve this problem?

推荐答案

如果其他程序更新了数据,则可以使用计时器控件每5分钟刷新一次报告(或其他任何时间)您想要的时间范围.)

如果您的程序更新了数据,则只需将加载报告的代码放在一个方法中,并在用户每次更新数据时都调用该方法.
If the data gets updated by some other program, you could use a timer control to refresh the report every 5 minutes (or whatever time frame you would like.)

If the data gets updated by your program, then just put the code that loads the report in a method and call that method every time the user updates the data.


我在网络中遇到了同样的问题应用程序.
如何设置刷新时间?

请指教.
I got same problem in web application.
How to set time to refresh?

Please advice.


这篇关于Reportviewer刷新问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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