Share via


ReportViewer.CurrentPage 屬性

取得或設定 ReportViewer 控制項使用中報表的目前頁面。

命名空間:  Microsoft.Reporting.WebForms
組件:  Microsoft.ReportViewer.WebForms (在 Microsoft.ReportViewer.WebForms.dll 中)

語法

'宣告
<BrowsableAttribute(False)> _
Public Property CurrentPage As Integer
[BrowsableAttribute(false)]
public int CurrentPage { get; set; }
[BrowsableAttribute(false)]
public:
property int CurrentPage {
    int get ();
    void set (int value);
}
[<BrowsableAttribute(false)>]
member CurrentPage : int with get, set
function get CurrentPage () : int
function set CurrentPage (value : int)

屬性值

類型:Int32
包含報表目前頁面的 integer 值。預設值為 0。

請參閱

參考

ReportViewer 類別

Microsoft.Reporting.WebForms 命名空間