G
Guest
Dim uc As UserControl
uc = LoadControl("\usercontrol\topheader.ascx")
Dim top As TopHeader
How do I convert uc to datatype TopHeader?
In C# I would do a cast. I have forgot how to do a cast in VB.Net
uc = LoadControl("\usercontrol\topheader.ascx")
Dim top As TopHeader
How do I convert uc to datatype TopHeader?
In C# I would do a cast. I have forgot how to do a cast in VB.Net