GridView.InitializePager(GridViewRow, Int32, PagedDataSource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes the pager row displayed when the paging feature is enabled.
protected:
virtual void InitializePager(System::Web::UI::WebControls::GridViewRow ^ row, int columnSpan, System::Web::UI::WebControls::PagedDataSource ^ pagedDataSource);
protected virtual void InitializePager (System.Web.UI.WebControls.GridViewRow row, int columnSpan, System.Web.UI.WebControls.PagedDataSource pagedDataSource);
abstract member InitializePager : System.Web.UI.WebControls.GridViewRow * int * System.Web.UI.WebControls.PagedDataSource -> unit
override this.InitializePager : System.Web.UI.WebControls.GridViewRow * int * System.Web.UI.WebControls.PagedDataSource -> unit
Protected Overridable Sub InitializePager (row As GridViewRow, columnSpan As Integer, pagedDataSource As PagedDataSource)
Parameters
- row
- GridViewRow
A GridViewRow that represents the pager row to initialize.
- columnSpan
- Int32
The number of columns the pager row should span.
- pagedDataSource
- PagedDataSource
A PagedDataSource that represents the data source.
Remarks
The InitializePager method is used to initialize the pager row displayed when the paging feature is enabled.
Note
This method is used primarily by control developers to extend the GridView control.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈