I am working on an application in which users enter information, which is then added to the list view. It works great. The only problem is that the application connects to a website that updates the Dots field in this list for each account. I am not sure how I can update one sub in the list.
Here is an example screenshot:
How to select a specific sub-item in a specific line for updating?
Ok, I'm going to suggest Windows Forms.
ListViewItem WinForms Name, . , :
var item = new ListViewItem("Text"); item.Name = "foo"; // some unique id string listView1.Items.Add(item);
, ListView , Items.Find.
var fooItem = listView1.Items.Find("foo", false);
Matt, , , Name ListViewItem. , Find, , :
Name
Find
fooItem.SubItems[2] = "450";