D
David
I am loading a ListView like this...
foreach (DataRow dr in dt.Rows)
{
ListViewItem lvi= new ListViewItem((string)dr["field1"]);
lvi.Tag = (string)dr["field2"];
listviewTest.Items.Add(lvi);
}
The DataTable is large and the ListView takes a long time to load. What can
I do to speed this up?
TIA
David
foreach (DataRow dr in dt.Rows)
{
ListViewItem lvi= new ListViewItem((string)dr["field1"]);
lvi.Tag = (string)dr["field2"];
listviewTest.Items.Add(lvi);
}
The DataTable is large and the ListView takes a long time to load. What can
I do to speed this up?
TIA
David