Hi gurus

I have a little proyect to do, I need to query a sql database and get some information, I have this done using the datatable, now I need to get that information, loop through the datatable and write to the file every field that is on every row on the datatable.

Here is where I need help, how do I loop through the datatale to get the fields.

Thanks