Exportar (0) Imprimir
Expandir Tudo
Expandir Minimizar
Este artigo foi traduzido por máquina. Coloque o ponteiro do mouse sobre as frases do artigo para ver o texto original. Mais informações.
Tradução
Original

GridView.ExtractRowValues Método

Retrieves the values of each field declared within the specified row and stores them in the specified IOrderedDictionary object.

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

protected virtual void ExtractRowValues(
	IOrderedDictionary fieldValues,
	GridViewRow row,
	bool includeReadOnlyFields,
	bool includePrimaryKey
)

Parâmetros

fieldValues
Tipo: System.Collections.Specialized.IOrderedDictionary

An IOrderedDictionary used to store the field values.

row
Tipo: System.Web.UI.WebControls.GridViewRow

The GridViewRow from which to retrieve the field values.

includeReadOnlyFields
Tipo: System.Boolean

true to include read-only fields; otherwise, false.

includePrimaryKey
Tipo: System.Boolean

true to include the primary key field or fields; otherwise, false.

The ExtractRowValues method is a helper method called by the GridView control to retrieve the values of each field declared within the row specified by the row parameter.You can specify whether the extracted values include read-only fields and key fields by using the includeReadOnlyFields and includePrimaryKey parameters, respectively.

OBSERVAÇÕES PARA Inheritors:

When extending the GridView class, you can override this method to create your own routine to retrieve the field values.

Contribuições da comunidade

ADICIONAR
Mostrar:
© 2015 Microsoft