I have a form drop down list and one built programatically. I was trying to write a routine to copy the programatically one to the form one however it will not work. I was able to get around this by coping the list. But why can't I do this
ddlForm = ddlProgramatically
In the end I had to do this.
ddl.DataTextField = "Description"
ddl.DataValueField = "idGroup"
ddlParent.DataTextField = "Text"
ddlParent.DataValueField = "Value"
ddlParent.DataSource = ddl.Items
ddlParent.DataBind()
...
Go to the complete details ...