I'm trying to create a function that will create a linklabel programmatically. I this possible? In my program I am creating a main menu that will have specific link labels. When these Linklabels are clicked it will search my SQL Database table for all controls associated with this linklabel. Then it will programmatically create all the controls. My plan was to create a function, that would scroll through the control list, and create all the linklabels. But I cannot even figure out how to create the linklabel as a new linklabel using the variables passed to the function.
Function CreateLinkLabel(LinkName As String) Dim LinkName As New LinkLabel End Function
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)