Hope
private void PrintRows(DataSet myDataSet){
foreach(DataTable myTable in myDataSet.Tables){
foreach(DataRow myRow in myTable.Rows){
foreach (DataColumn myColumn in myTable.Columns){
Console.WriteLine(myRow[myColumn]);
}
}
}
}
this code also help you.