* "El Camino" <an*******@discussions.microsoft.com> scripsit:
I have a List view already fill with data
I want to select one row in the list view with an ID that
i retrieve later on in the process
Basically its:
I have an ID
i want to find that ID in the List view
If its there then selection the whole row
Set the 'ListViewItem''s 'Selected' property to 'True'. If the
selection should even be visible if the control doesn't have the focus,
set it's 'HideSelection' property to 'True'. Or do you have problems
locating the item with #n in the listview control?
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>