gchq
Well-known member
- Joined
- Dec 14, 2007
- Messages
- 168
- Programming Experience
- 10+
Hi there
To delete a specific row in a DataTable I would
The issue is - what do I do if x = y for more than one row?
To delete a specific row in a DataTable I would
VB.NET:
Dim vIndex as integer
For Each row as DataRow in DT.rows
If x = y then
vIndex = DT.Rows.IndexOf(Row)
End iF
Next
DT.rows(vIndex).Delete()
DT.AcceptChanges()
The issue is - what do I do if x = y for more than one row?