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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top