Z
zzdelphi
Unregistered / Unconfirmed
GUEST, unregistred user!
code:
for i:=0 to clientdataset1.fieldcount-1 do
begin
clientdataset1.delete;
end;
clientdataset1.applyupdata(0);
clientdataset1.savetofile;//运行到这里用clientdaaset1->datasource->dbgrid,显示
//字段为空,showmessage(inttostr(cleintdataset1.fieldcount))为0,但打开文件数据任在.
for i:=0 to 360 do
begin
clientdataset1.append(各字段值);
end;
clientdataset1.savetofile;
数据库文件刚创建使为2K,运行一次后为140K,之后每运行一次增加200多K
为什么删不了?
分不够还可在加,希望各位大虾帮忙看看
for i:=0 to clientdataset1.fieldcount-1 do
begin
clientdataset1.delete;
end;
clientdataset1.applyupdata(0);
clientdataset1.savetofile;//运行到这里用clientdaaset1->datasource->dbgrid,显示
//字段为空,showmessage(inttostr(cleintdataset1.fieldcount))为0,但打开文件数据任在.
for i:=0 to 360 do
begin
clientdataset1.append(各字段值);
end;
clientdataset1.savetofile;
数据库文件刚创建使为2K,运行一次后为140K,之后每运行一次增加200多K
为什么删不了?
分不够还可在加,希望各位大虾帮忙看看