How to find listview item?

  • Thread starter Thread starter Terry Olsen
  • Start date Start date
T

Terry Olsen

I'm using a listview control with 2 columns (in detail view).

I need to find an item by text so that I can add a subitem to it. I haven't
been successful so far.

Any help is appreciated.
 
Have you try looping through the list view items and comparing the
ListViewItem.Text?
 
If you are using .NET 2.0, use ListView.FindItemWithText() method

I'm using a listview control with 2 columns (in detail view).

I need to find an item by text so that I can add a subitem to it. I haven't
been successful so far.

Any help is appreciated.
 
Back
Top