System.Data.DataView.Delete Method

Deletes a row at the specified index.

Syntax

public void Delete (int index)

Parameters

index
The index of the row to delete.

Remarks

After deleting a System.Data.DataRow, its state changes to DataViewRowState.Deleted. You can roll back the deletion by calling DataTable.RejectChanges on the System.Data.DataTable.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0