The following code is in my Page load event.
I create a table, the label shows 5 so I know it is there.
VB Code:
If Not Page.IsPostBack Then Dim i As Int16 Dim t As New Table For i = 1 To 5 Dim r As New TableRow Dim c As New TableCell c.Text = "MainMenu" + i.ToString r.Cells.Add(c) t.Rows.Add(r) Next Label1.Text = t.Rows.Count.ToString t.Visible = True End If
Can anyone tell me why I cannot see it when I run the webapp


Reply With Quote