AxpDataGrid

AxpDataGrid.BeforeInsertRecord Event

Triggers just before a new record is about to be inserted into the database.

[Visual Basic]
Public Event BeforeInsertRecord As BeforeInsertRecordEventHandler
[C#]
public event BeforeInsertRecordEventHandler BeforeInsertRecord;

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. The method AbortCommandExecution can be called to abort the insert if needed.

See Also

AxpDataGrid Class | Axezz.WebControls Namespace