开发者

Report viewer in C#

开发者 https://www.devze.com 2023-03-13 21:30 出处:网络
I have found some discrepancies while working with Reports in application development. Whatever the data updated in running form are not reflecting immediately in the report, have to close the form an

I have found some discrepancies while working with Reports in application development. Whatever the data updated in running form are not reflecting immediately in the report, have to close the form and again to debug to see the updates in report.

Please send your valuable suggestions to reflect data instantly in开发者_运维技巧 report once it gets updated.


why don't you simply click the refresh button? you do not need to debug the application to run it once it's productive.


Try this:

NameOfReportViewer.Refresh();

Should refresh the report Viewer for you, simply attach it to a method or event, what ever you wish. Or simply do as Davide Piras said and hit the refresh button on the report!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号