G
Guest
Hello
I am trying to make the items in my combobox be removed if they are present in my array
I cant however get my code to work. The values are read into my combobox using a datareader. I then want to remove items from the items collection of the combobox if they are in my array. Here is what i try
If i > 0 The
For i= 0 To (MyArray.Count - 1
Combobox1.Items.Remove(MyArray
Next
End I
can someone tell me what the problem could be
thank you
I am trying to make the items in my combobox be removed if they are present in my array
I cant however get my code to work. The values are read into my combobox using a datareader. I then want to remove items from the items collection of the combobox if they are in my array. Here is what i try
If i > 0 The
For i= 0 To (MyArray.Count - 1
Combobox1.Items.Remove(MyArray
Next
End I
can someone tell me what the problem could be
thank you