Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RefreshReport Method

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)

'Declaration
Public Sub RefreshReport
'Usage
Dim instance As ReportViewer

instance.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 Sub Form1_Load(ByVal sender As System.Object, _
            ByVal e As System.EventArgs) Handles MyBase.Load
   Me.ReportViewer1.RefreshReport()
End Sub
Show:
© 2015 Microsoft