HI all
i am working on a project where i am adding login and password. Also i add button if someone forget his\her password so they can able to retrive it. for this i put 2 textboxes one is email and other is username which will retrive data from listview. now i know how to search item with below code
ListView1.Focus()
For i = 0 To ListView1.Items.Count - 1
If ListView1.Items(i).SubItems(0).Text = TextBox1.Text Then
ListView1.Items(i).Selected = True
MsgBox(" Found'")
End If
Next
but i want that when item found the message box must appear showing column1(username) and column2(password)
how to do that