Select first 25 rows in a datatable

YourDataTableVar.AsEnumerable.Take(25).Select(Function (x) x("Vendor").toString.Trim).toArray

For LINQ starting have a look here: