Is it possible, and if so how, to loop though the results of a LINQ query?
Something like this:
var results= from a in dt.AsEnumerable()
If you have the option of changing your original LINQ statement to produce a data structure that allows you to do what you're looking for, I'd definitely suggest that.
If not, you'll need to use reflection to look up the properties of your anonymous type by their name, and then get the values of those properties by reflection:
PropertyInfo[] columns = results.First().GetType().GetProperties();
...
string foobar = columns[i].GetValue(row, null);