APNSoft Controls [4.5.2.20] - API Reference
APNSoftDataGrid.KeyFieldName Property

Gets or sets the name of column that uniquely identifies each record stored in the table. The key field is commonly used in a handler for an event, such as UpdateCommand or DeleteCommand, as part of an update query string to revise a specific record in the data source. The key field helps the update query string identify the appropriate record to modify.

[Visual Basic]
Public Property KeyFieldName As String
[C#]
public string KeyFieldName {get; set;}

See Also

APNSoftDataGrid Class | APNSoft.WebControls Namespace