I have listview control.There is an option to remove selected items.After the user removes an item.I need to programatically select the previous item just before the removed item or the First item.I have tried
listView.Items[0].Selected = true;
listView.Select();
No item is selected or Highlighted.What could be the problem?
ListView.Select doesn’t select an item in the items collection.
The right syntax is
See MSDN here