I have a data table and I want to delete a row here is my code it\'s throwing me an exception
foreach (DataRow row in dt1.Rows) { if ((row[\"Name\"] == \
Instead of using dt1.Rows, use dt1.Select()
dt1.Rows
dt1.Select()
The goal here is not to use the collection itself, but rather an array of row that is not the Rows collection
Rows