Hi,
I have a listview with 2 collumns.
The properties of listview is:
Multiselect: False
View: Details,
GridLines: True
FullRowSelect: True
The user will add data to the listview.
At the end i want to save them. My code is:
For m As Integer = 0 To listview.Items.Count - 1
listview.Items(m).Selected = True
listview.Select()
text = text & RelevantList.FocusedItem.SubItems(0).Text & "," & RelevantList.FocusedItem.SubItems(1).Text & ","
Next
If my list has 10 rows, i am getting 10 times the first row.
I can not get the text from the second,third,..... row
Any ideas what am i doing wrong?
Thanks
I have a listview with 2 collumns.
The properties of listview is:
Multiselect: False
View: Details,
GridLines: True
FullRowSelect: True
The user will add data to the listview.
At the end i want to save them. My code is:
For m As Integer = 0 To listview.Items.Count - 1
listview.Items(m).Selected = True
listview.Select()
text = text & RelevantList.FocusedItem.SubItems(0).Text & "," & RelevantList.FocusedItem.SubItems(1).Text & ","
Next
If my list has 10 rows, i am getting 10 times the first row.
I can not get the text from the second,third,..... row
Any ideas what am i doing wrong?
Thanks