R
Rich G
Hi - can anyone comment on why performance would be so
slow to update a DataTable row a simple value? With 3000
rows, it takes 5 seconds, which is unacceptable. Sample
code below. Suggestions?
string colName = "seg_qty";
for (int i=0; i<mwbView.Count; i++)
{
mwbView.Row.BeginEdit();
mwbView.Row[colName] = 0;
mwbView.Row.EndEdit();
}
Thanks,
Rich G
slow to update a DataTable row a simple value? With 3000
rows, it takes 5 seconds, which is unacceptable. Sample
code below. Suggestions?
string colName = "seg_qty";
for (int i=0; i<mwbView.Count; i++)
{
mwbView.Row.BeginEdit();
mwbView.Row[colName] = 0;
mwbView.Row.EndEdit();
}
Thanks,
Rich G