hi,
i have a listview with 5 columns.
I can't figure out how to get the text from each column when a row is selected.
Thanks for any help.
Nick
Printable View
hi,
i have a listview with 5 columns.
I can't figure out how to get the text from each column when a row is selected.
Thanks for any help.
Nick
no probs i sorted it :D
Code:dim lstItem as new listitem()
lstItem = ListView1.SelectedItems(0)
temp1 = lstItem.Text
temp2 = lstItem.SubItems(1).Text
temp3 = lstItem.SubItems(2).Text
temp4 = lstItem.SubItems(3).Text
temp5 = lstItem.SubItems(4).Text