Edita

Comparteix a través de


FormViewRow(Int32, DataControlRowType, DataControlRowState) Constructor

Definition

Initializes a new instance of the FormViewRow class.

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

Parameters

itemIndex
Int32

The index of the data item in the data source.

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 FormViewRow class.

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

Property Initial Value
ItemIndex 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