Clear Listview keeping columns intact

  • Thread starter Thread starter Ivan Weiss
  • Start date Start date
I

Ivan Weiss

I am aware that following code clears a listview including column
headers.

ListView.clear()

How can I clear the data in a listview and retain the column headers?

-Ivan
 
* Ivan Weiss said:
I am aware that following code clears a listview including column
headers.

ListView.clear()

How can I clear the data in a listview and retain the column headers?

'ListView1.Items.Clear()' should work.
 

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