Output the contents of a DataSet in HTML

private void PrintRows(DataSet myDataSet)
{
  // For each table in the DataSet, print the row values.
    foreach(DataTable myTable in myDataSet.Tables)
    {
      foreach(DataRow myRow in myTable.Rows)
      {
        foreach (DataColumn myColumn in myTable.Columns)
        {
          Response.Write(myRow[myColumn] + "
"); } } } }

This method is called with

printRows(<datasetname>)