DetailsViewPagerRow Constructor

DetailsViewPagerRow Constructor (Int32, DataControlRowType, DataControlRowState)

 

Initializes a new instance of the DetailsViewPagerRow class.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public DetailsViewPagerRow(
	int rowIndex,
	DataControlRowType rowType,
	DataControlRowState rowState
)

Parameters

rowIndex
Type: System.Int32

The index of the row in the Rows collection of the DetailsView control.

rowType
Type: System.Web.UI.WebControls.DataControlRowType

One of the DataControlRowType enumeration values.

rowState
Type: System.Web.UI.WebControls.DataControlRowState

One of the DataControlRowState enumeration values.

The DetailsViewPagerRow constructor calls the base class constructor, DetailsViewRow, with the specified parameters. For a DetailsViewPagerRow control in a DetailsView control, the call is made with rowIndex equal to -1, rowType equal to Pager, and rowState equal to Normal.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft