如何把dbgrid的datasource设置为空

(Null)
[6 byte] By [xy_c] at [2007-12-12]
# 1
DbGrid1.DataSource := Nil ;
Liujc-阿聪 at 2007-10-21 > top of Msdn China Tech,Delphi,VCL组件开发及应用...
# 2
DbGrid1.DataSource.DataSet.Clear;
horlen-少爷的破拐杖 at 2007-10-21 > top of Msdn China Tech,Delphi,VCL组件开发及应用...
# 3
另一种方法是把和DataSource连接部件(Table,Query)关掉
horlen-少爷的破拐杖 at 2007-10-21 > top of Msdn China Tech,Delphi,VCL组件开发及应用...
# 4
DbGrid1.DataSource:=nil;
# 5
DbGrid1.DataSource:=nil;

将之的table false掉

tianwater-tianwater at 2007-10-21 > top of Msdn China Tech,Delphi,VCL组件开发及应用...