c# - Having selected items from listview, delete objects in list -



c# - Having selected items from listview, delete objects in list<> -

this curiosity because couldn't find suited question.

i made list<t> , used it's contents show them in listview.

later tried deleting them listview , worked fine, whenever re-added item (through windows app) list<t> contents came up, means had remove items list<t>.

i tried many index methods , nil seemed work. i'm trying find way connect selected items beingness "deleted" on listview actual content on list<> can remove it.

can help out?

it depends on relation between listview , list.

what happening here listview display of list have. when delete stuff view, underlying list not updated. seek deleting straight list instead

if you're using listviewitem can store item in .tag property , search in list when deleting

c# windows-applications

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -