.NET Framework 4.6 and 4.5
Sets or gets a value that indicates whether deletes are allowed.
System.Data (in System.Data.dll)
Public Property AllowDelete As Boolean
true, if deletes are allowed; otherwise, false.
The following example checks the AllowDelete property before deleting a DataRow from a DataView.
Private Sub CheckAllowDelete(rowToDelete As DataRow)
Dim view As DataView = New DataView(DataSet1.Tables("Suppliers"))
If view.AllowDelete Then
Return to top
Available since 1.1