Finding array of row indexes in data table based on one value?

On second thoughts, my initial solution will not have the desired results.
This should be fine:

dt.AsEnumerable.
Select(Function(rw, idx) New With {rw, idx}).
Where(Function(x) x.rw("head1").ToString.Equals(yourValue)).
Select(Function(x) x.idx).
ToArray()

For the AsEnumerable error, have a look here: Compile Error: "AsEnumerable" is not a member of "System.Data.DataTable" - #2 by supermanPunch