TDataSet

From Lazarus wiki
Revision as of 23:46, 2 July 2014 by Arent (talk | contribs) (Created page with "<tt>'''TDataSet'''</tt> is the main link to the actual data in a database. A TDataSet acts like a cursor on a table or query-result. SQLTransaction1.Database := SQLConnec...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

TDataSet is the main link to the actual data in a database. A TDataSet acts like a cursor on a table or query-result.

 SQLTransaction1.Database := SQLConnection1;
 SQLQuery1.Transaction := SQLTransaction1;
 DataSource1.DataSet := SQLQuery1;
 DBGrid1.DataSource := DataSource1;

Freepascal Documentation

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