RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetAdapterDeleteRowAction Class

TDataSetAdapterDeleteRowAction deletes the current row from a dataset, as specified in an HTTP request.

Pascal
TDataSetAdapterDeleteRowAction = class(TCustomDataSetAdapterRowAction);
C++
class TDataSetAdapterDeleteRowAction : public TCustomDataSetAdapterRowAction;

Add TDataSetAdapterDeleteRowAction to a dataset adapter (TDataSetAdapter) to support HTML forms that let users delete database records. When this action is executed, it positions the dataset on the record specified in the current request and deletes it (or fails to post edits if the dataset adapter is in insert mode).  

Server-side script addresses this action as the 'DeleteRow' action of the parent adapter. By default, this action is visible (included in HTML forms) only when the parent adapter is in insert or edit mode. You can, however, cause this action to be included when the dataset is in other modes by changing the value of its ActionModes property. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!