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[i].Row.BeginEdit( );
mwbView[i].Row[colName] = 0;
mwbView[i].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[i].Row.BeginEdit( );
mwbView[i].Row[colName] = 0;
mwbView[i].Row.EndEdit();
}
Thanks,
Rich G
Comment