Listview selected items
Posted on 2014-03-19
I have a listview that has multiple columns in it. I have the code to show the selected item, but the problem is if I select column 2 it shows column 2's item, if I select column 1, it shows columns 1's item. Example:
Column1 | Column2
If I click on the first row under Column1, it will show "1". If I click on the first row under Column2, it will show "4". I need it to show "1" no matter where I click on row 1. I hope I this isn't to confusing. Any help would be greatly appreciated.
The code I am working with is:
Thanks in advance!
I am using VB.NET not C++ or C#.