I am building a custom template that has labels and buttons. I would like one label to be invisible. My code below throw an error. How do I set the visible property of a LabelControl in a custom template
Container = CType(lbl.NamingContainer, DataListItem)
lbl.Text &= DataBinder.Eval(Container.DataItem, "Trackid")
lbl.Visible &= False