TsgcWSPServer_Dataset › Properties › DataSet
TDataSet instance whose rows the server publishes to connected clients.
property DataSet: TDataSet read FDataSet write SetDataSet;
—
Assign any TDataSet descendant (TFDQuery, TClientDataSet, TTable, etc.) that is already open. The component hooks the dataset's AfterPost, BeforeDelete and AfterRefresh handlers to broadcast changes to every connected client when NotifyUpdates is True, and replays the row set for each new client when AutoSynchronize is True. Change the assignment at runtime to swap the synchronised source on the fly.
oProtocol.DataSet := FDQuery1;
FDQuery1.Open;