TSynDBSQLDataSet
TSynDBSQLDataSet
非内存表
TSynDBSQLDataSet = class(TSynBinaryDataSet)
TSynBinaryDataSet = class(TSynVirtualDataSet)
TSynVirtualDataSet = class(TDataSet)
。。。
Props := TSQLDBSocketConnectionProperties.Create('127.0.0.1:6789', 'jj', 'admin', 'admin');
dd := TSynDBSQLDataSet.Create(Self);
dd.Connection := Props;
。。。
dd.Close;
dd.CommandText := 'select top 10 * from t2';
dd.Open;
DataSource1.DataSet := dd;
本文来自博客园,作者:{咏南中间件},转载请注明原文链接:https://www.cnblogs.com/hnxxcxg/p/8047042.html