AdgDataSet.DeleteRow Method
Definition
Namespace: ASNA.DataGate.Client
Assembly: ASNA.QSys.DataGate.Client.dll
Deletes the row at the specified relative record number (rrn) in the DataTable associated with the specified format name.
void DeleteRow(string strFormat, int rrn)
Parameters
| Type | Parameter name | Description |
|---|---|---|
| String | strFormat | The format name of the DataTable. |
| Int32 | rrn | The relative record number of the row to delete. |
Remarks
DeleteRow marks the DataRow object specified by rrn as deleted in the format table specified by strFormat. Upon return, the ActiveRow Property of the AdgDataSet is set to null and the RowState of the DataRow is RowDeleted.
The rrn parameter is a zero-relative index referring to a DataRow object contained in the Rows collection of the DataTable corresponding to the strFormat parameter. The Rows collection and its containing DataTable object is accessible via the GetFormatTable method.