时间:2021-07-01 10:21:17 帮助过:17人阅读
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;
TSynDBSQLDataSet
标签:gpo nec connect ops ndt com virt dataset min