Bearbeiten

Freigeben über


DetailsViewRow(Int32, DataControlRowType, DataControlRowState) Constructor

Definition

Initializes a new instance of the DetailsViewRow class.

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

Parameters

rowIndex
Int32

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

rowType
DataControlRowType

One of the DataControlRowType enumeration values.

rowState
DataControlRowState

One of the DataControlRowState enumeration values.

Remarks

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.

Applies to

See also