C#: Is there a way to SET the selected index of an item in listview at runtime?
views:
220answers:
2
+1
A:
Find the item in the collection you want selected and set its public property Selected = true.
Will
2009-05-03 15:29:02
A:
Try this
listView.SelectedIndices.Clear();
listView.SelectedIndices.Add(someIndex);
JaredPar
2009-05-03 15:29:07