AxpDataGrid

AxpDataGrid.AfterInsertRecord Event

Triggers after a new record has been inserted into a database table.

[Visual Basic]
Public Event AfterInsertRecord As AfterInsertRecordEventHandler
[C#]
public event AfterInsertRecordEventHandler AfterInsertRecord;

Event Data

The event handler receives an argument of type UpdateRecordEventArgs containing data related to this event. The following UpdateRecordEventArgs property provides information specific to this event.

Property Description
PrimaryKeyValues Primary key values available in the AfterInsertRecord event handler/delegate

Remarks

AxpDataGrid.UpdateFields can be inspected if needed. It might be especially useful to retrieve any newly created Primary Key Values. The new Primary Key is available in the Event arguments.

See Also

AxpDataGrid Class | Axezz.WebControls Namespace