Hey,
You can not remove datarow from a dt while using a foreach row.
Best way is to get index of each row or copy row that you want to delete in a different DT. and delete it from there.
You should play with dt and row, it’s a good learing.
Hey,
You can not remove datarow from a dt while using a foreach row.
Best way is to get index of each row or copy row that you want to delete in a different DT. and delete it from there.
You should play with dt and row, it’s a good learing.