---------------Highlight Rows in C# ListView-----------------
for(int i=0;i less then listView1.Items.Count;i++)
{
int x=Convert.ToInt32(listView1.Items[i].SubItems[2].Text);
if (x lessthen 15)
listView1.Items[i].BackColor = Color.Red;
else if (x lessthen 20)
listView1.Items[i].BackColor = Color.Yellow;
}
--------------------------------------------------------------------
If you face any problem you can ask me in comments
or at [email protected]
facebook page : / c0deseekers
websites : for C++ https://programcodescpp.wixsite.com/p...