我有一个程序用的cxgrid控件,有30个字段
我测试了一下,在只设置cxgrid的datasource的情况下用
with tmpadoquery do
while not eof do
begin
edit ;
post ;
next ;
end
循环一个1400记录的表要用3分钟.后台sqlserver
而用delphi自带的grid要30秒钟beginupdate
endupdate,设置keyfield也也没多大用.大家有没有遇到速度慢的问题?有没有解决方法?谢谢!
我测试了一下,在只设置cxgrid的datasource的情况下用
with tmpadoquery do
while not eof do
begin
edit ;
post ;
next ;
end
循环一个1400记录的表要用3分钟.后台sqlserver
而用delphi自带的grid要30秒钟beginupdate
endupdate,设置keyfield也也没多大用.大家有没有遇到速度慢的问题?有没有解决方法?谢谢!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货