How to remove item from listbox with condition?

  • Thread starter Thread starter Mostafa Salaheldien
  • Start date Start date
M

Mostafa Salaheldien

Guest
Hello everyone,

i want to remove any item in my list if its >= 13

what is the wrong with my code this is my code

For x = 0 To Listrate.Items.Count - 1
If Listrate.Items(x).ToString >= 13 Then
Listrate.Items.Remove(x)'
End If
Next

Continue reading...
 

Similar threads

M
Replies
0
Views
133
Mostafa Salaheldien
M
M
Replies
0
Views
111
Mostafa Salaheldien
M
M
Replies
0
Views
123
Mostafa Salaheldien
M
Back
Top