Hi. The following code gives me an error at the line marked "Error Here"
Private Sub Dynamic_Data_PreInit(sende
r As Object, e As EventArgs) Handles Me.PreInit
Dim oDropDownList As New DropDownList
oDropDownList.ID = "d1"
oDropDownList.Items.Add("T
est")
Me.Panel_Controls.Controls
.Add(oDrop
DownList) 'Error here
End Sub