Export (0) Print
Expand All

DetailsViewRow Constructor

Note: This constructor is new in the .NET Framework version 2.0.

Initializes a new instance of the DetailsViewRow class.

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

public DetailsViewRow (
	int rowIndex,
	DataControlRowType rowType,
	DataControlRowState rowState
)
public DetailsViewRow (
	int rowIndex, 
	DataControlRowType rowType, 
	DataControlRowState rowState
)
public function DetailsViewRow (
	rowIndex : int, 
	rowType : DataControlRowType, 
	rowState : DataControlRowState
)

Parameters

rowIndex

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

rowType

One of the DataControlRowType enumeration values.

rowState

One of the DataControlRowState enumeration values.

Use this constructor to initialize a new instance of the DetailsViewRow class.

The following table shows initial property values for an instance of the DetailsViewRow class.

Property

Initial value

RowIndex

The value specified by the itemIndex parameter.

RowType

The value specified by the rowType parameter.

RowState

The value specified by the rowState parameter.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft