How to select item in the ListView control
How to select item in the ListView listview1.Items[i].Selected = true;//Not working
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajanikant HawaldarPosted Nov 21, 2020, 11:53 PM
Nabin AgarwalaPosted Nov 21, 2020, 11:56 PM
Sachin SinghPosted Nov 21, 2020, 11:55 PM
Vikas JhaPosted Nov 21, 2020, 11:49 PM
if (listView1.Items.Count > 0) { listView1.Items[0].Selected = true; listView1.Select(); }