DetailsViewPagerRow(Int32, DataControlRowType, DataControlRowState) 建構函式

定義

初始化 DetailsViewPagerRow 類別的新執行個體。

public:
 DetailsViewPagerRow(int rowIndex, System::Web::UI::WebControls::DataControlRowType rowType, System::Web::UI::WebControls::DataControlRowState rowState);
public DetailsViewPagerRow (int rowIndex, System.Web.UI.WebControls.DataControlRowType rowType, System.Web.UI.WebControls.DataControlRowState rowState);
new System.Web.UI.WebControls.DetailsViewPagerRow : int * System.Web.UI.WebControls.DataControlRowType * System.Web.UI.WebControls.DataControlRowState -> System.Web.UI.WebControls.DetailsViewPagerRow
Public Sub New (rowIndex As Integer, rowType As DataControlRowType, rowState As DataControlRowState)

參數

rowIndex
Int32

Rows 控制項之 DetailsView 集合中的資料列索引。

rowType
DataControlRowType

其中一個 DataControlRowType 列舉值。

rowState
DataControlRowState

其中一個 DataControlRowState 列舉值。

備註

DetailsViewPagerRow 構函式會使用指定的參數呼叫基類建構函 DetailsViewRow 式。 DetailsViewPagerRow針對控制項中的 DetailsView 控制項,呼叫 rowIndex 的 設定等於 -1、 rowType 等於 PagerrowState 等於 Normal

適用於

另請參閱