views:

653

answers:

2
+2  A: 

Ok, I'm going to assume Windows Forms.

WinForms' ListViewItem class has a Name property, which you can use to look up a specific item in a list. So as you populate the list, assign a unique value to the Name of each:

var item = new ListViewItem("Text");
item.Name = "foo"; // some unique id string
listView1.Items.Add(item);

That way you can locate the item in the ListView later, using its Items.Find method.

var fooItem = listView1.Items.Find("foo", false);
Matt Hamilton
+1  A: 

To expand on Matt's answer, it looks like each row has a unique email address, so you could assign that as the Name property for each ListViewItem. Once you've located the row to update using the Find method, you can update that row's Points like this:

fooItem.SubItems[2] = "450";
MusiGenesis