System.Web.UI.WebControls.GridViewUpdateEventArgs.NewValues Property

Gets a dictionary containing the revised values of the non-key field name/value pairs in the row to update.

Syntax

public System.Collections.Specialized.IOrderedDictionary NewValues { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the GridViewUpdateEventArgs.NewValues property (dictionary) to access the values of the revised non-key fields in the row to update.

Note:

The primary key field or fields are not included in this dictionary. To access the values of the primary key field or fields, use the GridViewUpdateEventArgs.Keys property. To access the original values of the non-key fields in the row, use the GridViewUpdateEventArgs.OldValues property.

The GridViewUpdateEventArgs.NewValues property is automatically populated with the name/value pairs of the revised non-key fields in the row. A separate entry is added to the GridViewUpdateEventArgs.NewValues property for each non-key field in the row.

To determine the field name of an entry, use the DictionaryEntry.Key property of a DictionaryEntry object contained in the GridViewUpdateEventArgs.NewValues dictionary. To determine the value of an entry, use the DictionaryEntry.Value property.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0