Just do a couple nested for..each loops for the rows and columns collection of the dataset.