GridViewRow(Int32, Int32, DataControlRowType, DataControlRowState) Construtor

Definição

Inicializa uma nova instância da classe GridViewRow.Initializes a new instance of the GridViewRow class.

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

Parâmetros

rowIndex
Int32

O índice do objeto GridViewRow na coleção Rows de um controle GridView.The index of the GridViewRow object in the Rows collection of a GridView control.

dataItemIndex
Int32

O índice do DataItem no DataSet subjacente.The index of the DataItem in the underlying DataSet.

rowType
DataControlRowType

Um dos valores de enumeração DataControlRowType.One of the DataControlRowType enumeration values.

rowState
DataControlRowState

Uma combinação bit a bit dos valores de enumeração DataControlRowState.A bitwise combination of the DataControlRowState enumeration values.

Comentários

Use este construtor para inicializar uma nova instância de um GridViewRow objeto.Use this constructor to initialize a new instance of a GridViewRow object.

A tabela a seguir mostra os valores de propriedade inicial para uma instância do GridViewRow .The following table shows initial property values for an instance of GridViewRow.

PropriedadeProperty Valor inicialInitial Value
DataItemIndex O valor do dataItemIndex parâmetro.The value of the dataItemIndex parameter.
RowIndex O valor do rowIndex parâmetro.The value of the rowIndex parameter.
RowState O valor do rowState parâmetro.The value of the rowState parameter.
RowType O valor do rowType parâmetro.The value of the rowType parameter.

Aplica-se a

Confira também