// Get the first table in the data set
DataTable dt = ds.Tables[0];

// Getting the number of rows in that table
int numOfRows = dt.Rows.Count;
this.InfoMsg("Retrieved {0} number of rows", numOfRows);

// iterating through the row
foreach(DataRow dataRow in dt.Rows)
{
   // do something with DataRow
}