Revision 1 of 2, by Useroflazarus on 2-4-2018. The page as it is now.
TDataSource/ru
Компонент TDataSource
является посредником между компонентом TDataSet, представляющим собой содержимое базы данных, и компонентами Data Controls, такими как TDBGrid.
Обычно, компонент TDataSource содержит поле DataSet, которое связано с TSQLQuery или другим потомком TDataSet. Компонент DataSource должен подключаться к полю DataSource компонента TDBGrid или другого компонента Data Controls.
SQLTransaction1.Database := SQLConnection1;
SQLQuery1.Transaction := SQLTransaction1;
DataSource1.DataSet := SQLQuery1;
DBGrid1.DataSource := DataSource1;
См. также
From the Free Pascal wiki, page "TDataSource/ru", as it stood on 2018-02-04 after a change by Useroflazarus, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
