G
Guest
hi all,
my code currently reads as the following:
//////
double tmpposition = (double)dr["position"] + pos;
dr["position"] = tmpposition;
//////
where dr is a DataRow and pos is of type double. however it seems that the
second line takes quite a while to execute - around a quarter of a second.
however, adding new rows to the table in which the row resides is quick, as
is selecting etc.
am i updating the row value incorrectly?
tia!
spammy
my code currently reads as the following:
//////
double tmpposition = (double)dr["position"] + pos;
dr["position"] = tmpposition;
//////
where dr is a DataRow and pos is of type double. however it seems that the
second line takes quite a while to execute - around a quarter of a second.
however, adding new rows to the table in which the row resides is quick, as
is selecting etc.
am i updating the row value incorrectly?
tia!
spammy