I trying to create a dynamic table to display my data. Depending on the situation, the number of columns can change - that's why I am building the table dynamically.
However, my code is not displaying a simple test table.
Code:
Sub BuildTable()
Dim bigtable As New Table
Dim tblTR As New TableRow
Dim tblTD As New TableCell
bigtable.BorderWidth.Pixel(1)
tblTD.Text = "test"
tblTR.Cells.Add(tblTD)
bigtable.Rows.Add(tblTR)
End Sub
Why is this not displaying? I am sure that the Sub is executing.
Thanks in advance for your comments.
- - - - - - - - - - - - - - - - - - - - - - -
In God we trust, everything else we test.