Hello,
I have a problem with removing only one item from a dropdownlist.
I have used the following code by now:With ddlCallStatus
.DataSource = Get_Status() ' Fill the dropdownlist
.DataValueField = "Lfd_Nr_FK"
.DataTextField = "FK_Text"
.DataBind()
.Items.Insert(0, New ListItem("", "0"))
.Items.Remove("Call closed")
End WithMy problem is the line .items.remove("Call closed").
This listitem has the value '34' and the text 'Call closed'.
But it won´t remove from the list.
Can anyone help me in the correct syntax for removing this item.
Thanks,
...
Go to the complete details ...