N
Novice
Hi all, what is the equivalent of this C# in VB
----------------------------------------------
DropDownList CustomerIdChooser
CustomerIdChooser = new DropDownList()
CustomerIdChooser.Load += new EventHandler(CustomerIdLoad)
CustomerIdChooser.SelectedIndexChanged += new EventHandler(CustomerIdChanged)
----------------------------------------------
I'm trying to build some webcontrols and initially I was just going to use the RenderControl method of the DropDownList to populate the DropDownList with each of the possible selections
But then I came across the above C# code - is there a way to do something similar in VB.NET
I tried doing this
----------------------------------------------
DropDownList CustomerIdChooser
CustomerIdChooser = new DropDownList()
CustomerIdChooser.Load += new EventHandler(CustomerIdLoad)
CustomerIdChooser.SelectedIndexChanged += new EventHandler(CustomerIdChanged)
----------------------------------------------
I'm trying to build some webcontrols and initially I was just going to use the RenderControl method of the DropDownList to populate the DropDownList with each of the possible selections
But then I came across the above C# code - is there a way to do something similar in VB.NET
I tried doing this