C# (C Sharp) - How to iterate through the selected values of a ListView object?
ListView.CheckedListViewItemCollection vc=lv.CheckedItems; string[] strValues=new string[lvFiles.CheckedItems.Count]; for(int i=0;i<vc.Count;i++) { strValues[i]=lv.Items[vc[i].Index].SubItems[0].Text; }
Category: | C# (C Sharp) |
<< Go back