1 foreach (DataTable table in ds.Tables)
2 {
3 Response.Write("<b>" + table.ToString() + "</b><br>");
4 foreach (DataRow row in table.Rows)
5 {
6 Response.Write("<b>" + row.ToString() + "</b><br>");
7 foreach (DataColumn col in table.Columns)
8 {
9 Response.Write(row[col].ToString() + ", ");
10 }
11 Response.Write("<br>");
12 }
13 }