Hey all, I'm trying to do something and read text from page to listview in columns, problem is i get first row, but second third etc it dont insert idk why, im talking about ROWs here is my code check it out and let me know what is wrong?
Try
Dim strTemp() As String
Dim LVItem As New ListViewItem
strTemp = eResult.Split("!"c)
LVItem.Text = strTemp(0).ToString
ListView1.Items.Add(LVItem)
LVItem.SubItems.Add(strTemp(1).ToString)
If strTemp.Length > 2 Then LVItem.SubItems.Add(strTemp(2).ToString)
If strTemp.Length > 3 Then LVItem.SubItems.Add(strTemp(3).ToString)
If strTemp.Length > 4 Then LVItem.SubItems.Add(strTemp(4).ToString)
Catch ex As Exception
MessageBox.Show("Error reading file." & ex.Message)
End Try