string [] show = new string[3];
try
{
while(true)
{
if(some condition) break;
show[0] = ...
show[1] = ...
show[2] = ...
ListViewItem list = new ListViewItem(show);
listView1.Items.Add(list);
show[0] = show[1] = show[2] = "";
}
catch
{
}
"Jonathan Taylor" <jo****@00000000homtail.com> wrote in message
news:eO**************@TK2MSFTNGP10.phx.gbl...
I basically update the listview items, but how can i then refresh the
listview ??
I've tried Update(), Redraw() and Invalidate(). None of these work. The
new data displays fine if I close the form and then reopen it, but I need
it to update when i call a method, after I've added new data to a file.
Please help!!
Thanks.