TDataSource/ja
From Lazarus wiki
Revision as of 13:36, 14 March 2024 by Ariben (talk | contribs) (Created page with "{{Japanese Menu}} {{TDataSource}} '''TDataSource''' image:tdatasource.pngは a component that mediates communication between a <tt>TDataSet</tt> based component that...")
│
English (en) │
français (fr) │
日本語 (ja) │
русский (ru) │
TDataSource は a component that mediates communication between a TDataSet based component that represents the database contents and Data Controls like TDBGrid.
Typically, a TDataSource contains a field 'DataSet' that connects to a TSQLQuery or other TDataSet descendant. The DataSource should connect to the 'DataSource' field of a TDBGrid or other Data Control component.
SQLTransaction1.Database := SQLConnection1; SQLQuery1.Transaction := SQLTransaction1; DataSource1.DataSet := SQLQuery1; DBGrid1.DataSource := DataSource1;
See also