NumericPagerField.CreateDataPagers 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.
Creates the user interface (UI) controls for the pager field object and adds them to the specified container.
public:
override void CreateDataPagers(System::Web::UI::WebControls::DataPagerFieldItem ^ container, int startRowIndex, int maximumRows, int totalRowCount, int fieldIndex);
public override void CreateDataPagers (System.Web.UI.WebControls.DataPagerFieldItem container, int startRowIndex, int maximumRows, int totalRowCount, int fieldIndex);
override this.CreateDataPagers : System.Web.UI.WebControls.DataPagerFieldItem * int * int * int * int -> unit
Public Overrides Sub CreateDataPagers (container As DataPagerFieldItem, startRowIndex As Integer, maximumRows As Integer, totalRowCount As Integer, fieldIndex As Integer)
Parameters
- container
- DataPagerFieldItem
The container that is used to store the controls.
- startRowIndex
- Int32
The index of the first record on the page.
- maximumRows
- Int32
The maximum number of items on a single page.
- totalRowCount
- Int32
The total number of items.
Remarks
The CreateDataPagers method is a helper method. It is used by the DataPager.CreatePagerFields method to create the UI controls for the pager field, such as the numeric buttons.
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應