OK, i made a listView and a ComboBox
now i want that when ever i choose an item from the comboBox the listView will show only the items that there's subItem have the same text of the ComboBoxItem
this is what i made so far, but i succeeded to do it only with Remove and now with "Hide"
how can i do it?
string value = toolStripComboBox1.Text;
for (int i = ListView1.Items.Count - 1; -1 < i; i--)
{
if
(ListView1.Items[i].SubItems[1].Text.StartsWith(value) == false)
{
ListView1.Items[i].Remove();
}
}