none
value of type listview cannot be converted to string vb.net RRS feed

  • Question

  • having error in this line...

        Private Sub txtURL_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtURL.TextChanged

            txtURL.AutoCompleteCustomSource.Clear()

            For i As Integer = 0 To History.lstHistory.Items.Count - 1
                txtURL.AutoCompleteCustomSource.Add(History.lstHistory.Items(i))
            Next

        End Sub

    please tell me the soulation 

    Friday, February 15, 2019 6:45 AM

All replies

  • Hi,

    read listview data

    History.lstHistory.Items(rowindex).SubItems(columnindex).Text

    Best Regards,

    Alex


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, February 15, 2019 7:29 AM