Reputation: 11
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.
Upvotes: 1
Views: 634
Reputation: 2636
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!
Upvotes: 0
Reputation: 44595
why don't you simply click the refresh button? you do not need to debug the application to run it once it's productive.
Upvotes: 3