hey suppose I have 3 Rows Items in a ListView.
I want that when i Click on Row1
msgbox comes Yogesh 0
When I click on Row 2
Msgbox Comes Yogesh 1
& SO ON>
But with mine code-
When I click on Row1 msgbox comes Ruchi 0,Ruchi 1, Ruchi 2,
Similarly for all other Rows.
Mine Code is as Under. Plz tell me where I Going Wrong--
Private Sub ListView1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListView1.Click Dim lcount As Integer For lcount = 0 To ListView1.Items.Count - 1 MsgBox("Ruchi " & lcount) Next End Sub