How can I read something in another column than number 1?
ListView1.Selected.Text gives me what's written in the first column...
Does anyone know how I can find ut what's inside the second and third?
Printable View
How can I read something in another column than number 1?
ListView1.Selected.Text gives me what's written in the first column...
Does anyone know how I can find ut what's inside the second and third?
ListView1.SelectedItem.ListSubItems(1).Text
Joon
try :
Text1 = ListView1.SelectedItem.SubItems(1)
in a form with a listview and a textbox , this will put what ever in the second column
in the textbox ... to read the third column :
Text1 = ListView1.SelectedItem.SubItems(2)
etc ...
------------------
- regards -
- razzaj -