CrystalReportViewer.ShowFirstPage Method

Shows the first page of the report.

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

Syntax

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

Example

This example calls the ShowFirstPage() method to set the CrystalReportViewer to display the first page of the current report.

'Declaration

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

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