The only way that we have found is to do
var myDictionary<int,> = new Dictionary<int,>();
var cell = myTable.Cell(1, 1);
while(cell != null)
{
myDictionary[cell.ColumnIndex] = cell.Range.Text;
if(cell.ColumnIndex == 1 && cell.RowIndex != 1)
{
Trace.WriteLine("Data at row {0} is:", cell.RowIndex);
foreach(KeyValuePair<int,> kvp in myDictionary)
{
Trace.WriteLine(" Column({0}) --> {1})", kvp.Key, kvp.Value);
}
Trace.WriteLine("");
}
cell = cell.next
}
To keep track of what was in the previous cell, we used a dictionary and cleared it whenever we got to the first column of the next row.
This code won't show the last row but it gives you the idea