badita
(Mihai Badita)
6
I doubt that this will work. Does it?
The reason explained here - the collection you iterate through can not be modified within the iterator
However, @aksh1yadav method here works too, just use RemoveDataRow instead of InvokeMethod
2 Likes