Share via


CrystalReportViewer.RefreshReport Method

Refreshes the report displayed in the CrystalReportViewer control.

Namespace CrystalDecisions.Windows.Forms Assembly CrystalDecisions.Windows.Forms (CrystalDecisions.Windows.Forms.dll)

Syntax

'Declaration
Public Overrideable Sub RefreshReport () 
public virtual void RefreshReport ()

Remarks

This method will refresh the data for the report currently displayed in the CrystalReportViewer control. The report will prompt for parameters or logon info is necessary.

Example

The following example will refresh the report.

'Declaration

      Private Sub RefreshReport()
         CrystalReportViewer.RefreshReport()
      End Sub
      
      private void RefreshReport()
      {
         crystalReportViewer.RefreshReport();
      }
      

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports for Visual Studio .NET 2002

See Also

Reference

CrystalReportViewer Class
CrystalReportViewer Members
CrystalDecisions.Windows.Forms Namespace