G
Guest
Hi
When i have my 144 items to display in my listview it is very fast (not seeing it
but when i have my 2204 items (it's "just" about 20 times more) it take
about half a minute to display the items
the code looks like this
for (int row=0;row<sucheErgebnisse.rowData.Count;row++
rowData = (String[])sucheErgebnisse.rowData[row]
item = new ListViewItem(rowData[0])
for (int sub=0;sub<rowData.Length-1;sub++
item.SubItems.Add(rowData[1+sub])
this.listView1.Items.Add(item)
as you see from a class sucheErgebnisse i take the String arra
and write it's content in an item, which will be added to the listView
any suggestions why this is so slow, or how to do it faster
(in explorer file displaying is also faster
thanks for help
nic
}
When i have my 144 items to display in my listview it is very fast (not seeing it
but when i have my 2204 items (it's "just" about 20 times more) it take
about half a minute to display the items
the code looks like this
for (int row=0;row<sucheErgebnisse.rowData.Count;row++
rowData = (String[])sucheErgebnisse.rowData[row]
item = new ListViewItem(rowData[0])
for (int sub=0;sub<rowData.Length-1;sub++
item.SubItems.Add(rowData[1+sub])
this.listView1.Items.Add(item)
as you see from a class sucheErgebnisse i take the String arra
and write it's content in an item, which will be added to the listView
any suggestions why this is so slow, or how to do it faster
(in explorer file displaying is also faster
thanks for help
nic
}