How would you reference a label via a variable? The following syntax is not working for me. The labels are positioned inside asp:tables which are inside an asp:table.
Dim tcLabel as LabelFor i = 1 To 96
field1 = "P" + i.ToString.Trim
tcLabel = Page.FindControl("Label" + i.ToString.Trim)
tcLabel.Text = oReader(field1).ToString.Trim
Next
Thanks
...
Go to the complete details ...