List View GUi Not updating

  • Thread starter Thread starter Lou
  • Start date Start date
L

Lou

I have a listview control. I change the data

lvEvents.Items[0].SubItems[3].Text="AAAA";

When I debug

Debug.WriteLine(lvEvents.Items[0].SubItems[3].Text);

it shows the new value as "AAAA" but the grid still

shows the orignal valu of "BBBB"

How do I force the grid to update with the new value????



-Lou
 
Lou,

Try calling Update() or Refresh() (hmm, I seem to not remember method names
very well :-) on the ListView control instance.
 

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