GridView.ExtractRowValues(IOrderedDictionary, GridViewRow, Boolean, Boolean) GridView.ExtractRowValues(IOrderedDictionary, GridViewRow, Boolean, Boolean) GridView.ExtractRowValues(IOrderedDictionary, GridViewRow, Boolean, Boolean) GridView.ExtractRowValues(IOrderedDictionary, GridViewRow, Boolean, Boolean) Method

Definición

Recupera los valores de cada campo declarado dentro de la fila especificada y los almacena en el objeto IOrderedDictionary especificado.Retrieves the values of each field declared within the specified row and stores them in the specified IOrderedDictionary object.

protected:
 virtual void ExtractRowValues(System::Collections::Specialized::IOrderedDictionary ^ fieldValues, System::Web::UI::WebControls::GridViewRow ^ row, bool includeReadOnlyFields, bool includePrimaryKey);
protected virtual void ExtractRowValues (System.Collections.Specialized.IOrderedDictionary fieldValues, System.Web.UI.WebControls.GridViewRow row, bool includeReadOnlyFields, bool includePrimaryKey);
abstract member ExtractRowValues : System.Collections.Specialized.IOrderedDictionary * System.Web.UI.WebControls.GridViewRow * bool * bool -> unit
override this.ExtractRowValues : System.Collections.Specialized.IOrderedDictionary * System.Web.UI.WebControls.GridViewRow * bool * bool -> unit
Protected Overridable Sub ExtractRowValues (fieldValues As IOrderedDictionary, row As GridViewRow, includeReadOnlyFields As Boolean, includePrimaryKey As Boolean)

Parámetros

fieldValues
IOrderedDictionary IOrderedDictionary IOrderedDictionary IOrderedDictionary

IOrderedDictionary que se utiliza para almacenar los valores de campo.An IOrderedDictionary used to store the field values.

row
GridViewRow GridViewRow GridViewRow GridViewRow

GridViewRow desde donde se recuperan los valores de campo.The GridViewRow from which to retrieve the field values.

includeReadOnlyFields
Boolean Boolean Boolean Boolean

Es true para incluir los campos de sólo lectura; de lo contrario, es false.true to include read-only fields; otherwise, false.

includePrimaryKey
Boolean Boolean Boolean Boolean

Es true para incluir el campo o los campos de clave principal; de lo contrario, es false.true to include the primary key field or fields; otherwise, false.

Comentarios

El ExtractRowValues método es un método auxiliar llamado por el GridView control para recuperar los valores de cada campo declarado dentro de la fila especificada por el row parámetro.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. Puede especificar si los valores extraídos incluyen campos de solo lectura y campos de clave mediante includeReadOnlyFields los includePrimaryKey parámetros y, respectivamente.You can specify whether the extracted values include read-only fields and key fields by using the includeReadOnlyFields and includePrimaryKey parameters, respectively.

Notas a los desarrolladores de herederos

Al extender la GridView clase, puede invalidar este método para crear su propia rutina para recuperar los valores de campo.When extending the GridView class, you can override this method to create your own routine to retrieve the field values.

Se aplica a

Consulte también: