highlight listview item from mysql search statement then get the index
Recommended Answers
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 …
Jump to PostMy post above singles out the first column in the row. Listviews are pain do deal with when working with databases. This allows you to used the selected row to perform a query.
All 6 Replies
Shodow 3 Junior Poster
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Begginnerdev 256 Junior Poster
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Begginnerdev 256 Junior Poster
Reverend Jim 5,225 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.