AxpDataGrid

AxpDataGrid.AbortCommandExecution Method 

Abort database Insert, Update or Delete command from executing

[Visual Basic]
Public Sub AbortCommandExecution()
[C#]
public void AbortCommandExecution();

Remarks

This method can be called in the events BeforeInsertRecord, BeforeUpdateRecord, BeforeDeleteRecord to abort the current database command. This can be utilized for input validation purposes. See Sample25 for an example.

See Also

AxpDataGrid Class | Axezz.WebControls Namespace