G
Guest
I have a dataset that I queried from an excel sheet. I want to loop through
the rows, then loop through the columns and write them to a file. But I got
stuck pretty quickly:
So far:
For Each dr As DataRow In Order.Tables(0).Rows
Next
In this for each I want to start a second for each for the columns. But it
seems that a datarow does not have a columns collection I can loop through?
How can I loop through the colomns in each datarow?
the rows, then loop through the columns and write them to a file. But I got
stuck pretty quickly:
So far:
For Each dr As DataRow In Order.Tables(0).Rows
Next
In this for each I want to start a second for each for the columns. But it
seems that a datarow does not have a columns collection I can loop through?
How can I loop through the colomns in each datarow?