I have retrieved a value from a query and need to put it into the Label called "lblViews". Every way I try, it says there is no instance for this object. How do I write/set the text of the label to the query I retrieved in the Page_Load method? Thanks.
I have tried the following:
----
Dim Control1 As Label = Ctype(CelebBio.FindControl("lblViews"), Label)
lblViews.Text = Views
----
CelebBio.lblViews.Text = Views
----
'Views does exist, and writes normally just not to the label inside the repeater. I would hate to have a hidden label outside the repeater and on onLoad set javascript to set the label equal to the hidden label.