TDataSource

From Lazarus wiki
Revision as of 22:47, 2 July 2014 by Arent (talk | contribs) (Created page with "<tt>'''TDataSource'''</tt> is a component that mediates communication between a <tt>TDataSet</tt> based component that represents the database contents and Data Controls l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

TDataSource is 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.

Freepascal Documentation

  • http: //www.freepascal.org/docs-html/fcl/db/tdatasource.html