Hi,
I'm dynamically creating a table in my code-behind but the table never appears when I run the program. Here's what I have so far:
I've stepped through this section in my program and there is data to be filled into the table, so I doubt that's the problem.
Any idea why my table doesn't appear when I run it?
Thanks in advance,
Suzanne
I'm dynamically creating a table in my code-behind but the table never appears when I run the program. Here's what I have so far:
Code:
Dim tbl As New Table
tbl.Width = 700
tbl.CellPadding = 0
tbl.CellSpacing = 0
tbl.Visible = True
Dim trHeaderRow01 As New TableRow
Dim tCell01 As New TableCell
tCell01.Text = "CYCLE"
trHeaderRow01.Cells.Add(tCell01)
Dim tCell02 As New TableCell
tCell02.Text = globalDV.Item(i).Item("rptcycle").ToString
trHeaderRow01.Cells.Add(tCell02)
Dim tCell03 As New TableCell
tCell03.Text = "RATING CHANGE AUTHORIZATION"
trHeaderRow01.Cells.Add(tCell03)
Dim tCell04 As New TableCell
tCell04.Text = globalDV.Item(i).Item("rptdate").ToString
trHeaderRow01.Cells.Add(tCell04)
tbl.Rows.Add(trHeaderRow01)
I've stepped through this section in my program and there is data to be filled into the table, so I doubt that's the problem.
Any idea why my table doesn't appear when I run it?
Thanks in advance,
Suzanne