Created
September 21, 2015 20:47
-
-
Save MayogaX/90147a2fc0e5b79dc2ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void PrintRows(DataSet dataSet) | |
{ | |
// For each table in the DataSet, print the row values. | |
foreach(DataTable table in dataSet.Tables) | |
{ | |
foreach(DataRow row in table.Rows) | |
{ | |
foreach (DataColumn column in table.Columns) | |
{ | |
Console.WriteLine(row[column]); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment