C# - How to get/set ListViewItem or ListViewItem.ListViewSubItem by key ?

Posted by Leonardo on Stack Overflow See other posts from Stack Overflow or by Leonardo
Published on 2010-03-08T22:11:38Z Indexed on 2010/03/08 22:36 UTC
Read the original article Hit count: 420

Filed under:
|
|
|

I have a listview with several items that are created dynamically, each has two subitems that are quantity and code after a query to the database should update the quantity, but to make the code more readable I would like to access subitems by the key and not by its index, something like:

subitem["quantity"]

but I don't see how to assign the key though collections.

© Stack Overflow or respective owner

Related posts about listview

Related posts about item