Hi Pony,
Thank you for posting.
You can not use a column header name to get the subitem in a listview. But
you can get the subitem's index by the known column header(eg.
columnHeader1) by the sentence: columnHeader1.Index
So if you want to get the subitem of a known column header(eg.
columnHeader1), you may use the following sentence:
ListViewSubItem item = listView1.Items[0].SubItems[columnHeader1.Index]
Hope this is helpful to you.
If you have any concerns or need anything else, please don't hesitate to
let me know.
Sincerely,
Linda Liu
Microsoft Online Community Support
====================================================
When responding to posts,please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
====================================================