VB.NET listview select item programmaticaly

VB.NET listview select item programmaticaly

When create a program with listview at VB.NET, I have a problem how VB.NET listview select item programmaticaly. This is simple problem and I am confused how to solve this problem.

We can solve this VB.NET listview select item programmaticaly by use this method :

ListView1.Items(select_your_index).Selected = True
ListView1.Select()

This is a method how VB.NET listview select item programmaticaly, please share if you have any other method 🙂

One Comment

Add a Comment

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.