Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

ReportViewer.RefreshReport Method

Causes the current report in the Report Viewer to be processed and rendered.

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
public void RefreshReport ()
public void RefreshReport ()
public function RefreshReport ()

Calling the RefreshReport method causes all data in the report to be reloaded and rendered. A call to RefreshReport is automatically added to the Form Load event handler when a ReportViewer control is added to a form.

private void Form1_Load(object sender, EventArgs e)
{
   this.reportViewer.RefreshReport();
}
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.