|
-
Oct 10th, 2002, 06:42 PM
#1
Thread Starter
Junior Member
Finding items in a LISTVIEW Control
Does anyone know how to find an item in a LISTVIEW control?
In VB6 there was a FINDITEM method that you could use. I dont see that method in .NET
In VB6 you could do this:
Set itmFound = lstConnections.FindItem(Name, lvwSubItem)
If itmFound Is Nothing Then
'do nothing
Else
lstConnections.ListItems.add (name)
End If
In vb.net????
I could loop through all the items.....yuch...any ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|