Pulling data from Listview

Joined
Sep 19, 2007
Messages
7
Programming Experience
Beginner
I have a listview with a column customer id. How do i get the customer id from the selected row from a listview ?
 
The SelectedItem returns the selected ListViewItem. Each item has a SubItems collection that you can index to get each column from that row. Each ListViewSubItem has a Text property that will give you the text displayed in that cell.
 
Back
Top