http://blog.csdn.net/windhaunting/article/details/4751560
1、TTable(DBGrid1.DataSource.DataSet).EmptyTable;
2.DBGrid1.DataSource:=nil; //切断与数据源的联系
http://blog.csdn.net/windhaunting/article/details/4751560
1、TTable(DBGrid1.DataSource.DataSet).EmptyTable;
2.DBGrid1.DataSource:=nil; //切断与数据源的联系