System.Web.UI.WebControls.GridViewDeletedEventArgs.Keys Property

Gets an ordered dictionary of key field name/value pairs for the deleted record.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

Use the GridViewDeletedEventArgs.Keys property to access the values of the key fields (as specified by the GridView.DataKeyNames property) for a deleted record. For example, you can use these values to keep a log of deleted records.

Note:

This property contains only the key fields. To access the non-key fields, use the GridViewDeletedEventArgs.Values property.

The GridViewDeletedEventArgs.Keys property returns an object that implements the System.Collections.Specialized.IOrderedDictionary interface. The object contains DictionaryEntry objects that represent the key fields of the deleted record.

Requirements

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