[C#]
private void PrintRows(DataSet myDataSet){
// For each table in the DataSet, print the values of each row.
foreach(DataTable thisTable in myDataSet.Tables){
// For each row, print the values of each column.
foreach(DataRow myRow in thisTable.Rows){
foreach(DataColumn myCol in thisTable.Columns){
Console.WriteLine(myRow[myCol]);
}
}
}
}