Udostępnij za pośrednictwem


ReportViewer.CurrentPage Property

Gets or sets the current page of the ReportViewer control's active report.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _
Public Property CurrentPage As Integer
'Usage
Dim instance As ReportViewer
Dim value As Integer

value = instance.CurrentPage

instance.CurrentPage = value
[BrowsableAttribute(false)] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] 
public int CurrentPage { get; set; }
[BrowsableAttribute(false)] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Hidden)] 
public:
property int CurrentPage {
    int get ();
    void set (int value);
}
/** @property */
public int get_CurrentPage ()

/** @property */
public void set_CurrentPage (int value)
public function get CurrentPage () : int

public function set CurrentPage (value : int)

Property Value

An integer value containing the current page of the report. The default value is 0.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace