highlight listview item from mysql search statement then get the index
Recommended Answers
Jump to PostLet's try to narrow this down. I'm guessing that you have a database that you want to be able to search. The user is presented with a listview containing predefined search strings. The user (possibly) selects an item in the listview. This causes the database to be searched for the …
Jump to PostAfter beating my head into the wall 1,000 times over when working with listview, I have discovered an easy way.
By:
Dim index as String For Each sItem As ListViewItem In DatabaseListView.SelectedItems index = sItem.Text Next 'this will select the item at the start of the …
All 6 Replies
Shodow
3
Junior Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Begginnerdev
256
Junior Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Begginnerdev
256
Junior Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.