I am using Visual Studio 2008 developing a web app front-end for a T-SQL DB using asp.net and vb.net.
I have a label inside a list like so:
<ul id="ul" class="class"> <li id="li"> <asp:Label runat="server" ID="label"></asp:Label> </li> </ul>
I cannot access the label directly in my code-behind file like I normally would. (Ex. label.text = "Something")
I'm assuming I need to use FindControl in some way, but I'm obviously having no success.
I guess that means my question is: How can I expose the label control so I can manipulate it with vb?