Following code does always fails even when they contain the same. Reason is that they are of two different type(string and ListViewItem). How do I fix it ?
// nostr is a string
foreach (ListViewItem item in listView1.Items)
{
if (item(nostr))
item.SubItems[4].Text = "Equal";
}
// nostr is a string
foreach (ListViewItem item in listView1.Items)
{
if (item(nostr))
item.SubItems[4].Text = "Equal";
}