Getting Data from Excel : For each and For each row difference

i am filtering rows from excel and assigning to variable

Not sure why getting one dimensional arrray error

For each row

For each (Working fine) : Type argument - System.Data.Datarow

Kindly guide why we are unable to use For each row
Also share more clarity on for each and for each row

For each (Working fine) : Type argument - System.Data.Datarow

Kindly guide why we are unable to use For each row
Also share more clarity on for each and for each row

@milind86
For Each Row requires a datatable and this activity is intended to iterate over the rows from the datatable
Looping over the DataRow Array can be done with an For Each TypeArgument is then DataRow