There is a much simpler way to go about this:
Once you have the HTML table as an object in the server code, you can add rows and cells to the table thru the use of those respective objects...
Dim myTable As HtmlTable
myTable.Rows.Add(New HtmlTableRow)
myTable.Rows(0).Cells.Add(New HtmlTableCell)
and so on...
Peter
-------------------------
Work smarter, not harder