ListView control

Write down the code for selecting an item in ListView control programmatically in the C#?

E

Expert

Verified

In order to select an item from the ListView control, the following code can be used:

//Make sure the listview has focus

listview1.Focus();

listview1.Items[i].Selected = true;

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.