A
ahxia
Unregistered / Unconfirmed
GUEST, unregistred user!
鬼子说如果这么对table 进行 append会加速350%,谁还有其他tips?
with adsTable1 do
try
<font color=red><b>DisableControls;
DataSource1.Dataset := nil;</b></font>
<i>Do your processing on adsTable1 here</i>
....
finally
DataSource1.Dataset := adsTable1;
EnableControls;
end;
with adsTable1 do
try
<font color=red><b>DisableControls;
DataSource1.Dataset := nil;</b></font>
<i>Do your processing on adsTable1 here</i>
....
finally
DataSource1.Dataset := adsTable1;
EnableControls;
end;