Listview _Control

  • Thread starter Thread starter sonali_reddy123
  • Start date Start date
S

sonali_reddy123

Hi,

I have a problem regarding clear method of the listview control.
In my application sometimes the "listview1.Items.clear()" method
is giving me a "null reference exception".

All I could thought of it is related to the no. of items in the
listview but it is not the case.
Even if my listview contains items which could be removed by using
above method the error persists.

This is not a frequent scenario.

Any help is invitable
 
Hi,

Please post the code & also describe those scenarios when you
experience such a thing.

Kalpesh
 

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