C
cobele
Unregistered / Unconfirmed
GUEST, unregistred user!
能否动态的创建一个table,并使dbgrid显示出表的内容?
谢谢
比如:(有什么错吗?)
var table:Ttable;
datasource1.DataSet:=table;
dbgrid1.DataSource:=datasource1;
table:=TTable.Create(self);
table.TableType:=ttparadox;
table.DatabaseName:='f:/jwgl/';
table.TableName:='qbbj.db';
table.TableType:=ttparadox;
table.Open;
谢谢
比如:(有什么错吗?)
var table:Ttable;
datasource1.DataSet:=table;
dbgrid1.DataSource:=datasource1;
table:=TTable.Create(self);
table.TableType:=ttparadox;
table.DatabaseName:='f:/jwgl/';
table.TableName:='qbbj.db';
table.TableType:=ttparadox;
table.Open;