Difference between revisions of "TDataSet"

From Lazarus wiki
(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...")
 
m (Freepascal Documentation: Fixed hyperlink)
Line 7: Line 7:
  
 
== Freepascal Documentation ==
 
== Freepascal Documentation ==
* http: //www.freepascal.org/docs-html/fcl/db/tdataset.html
+
* http://www.freepascal.org/docs-html/fcl/db/tdataset.html
  
 
[[category:Databases]]
 
[[category:Databases]]

Revision as of 09:25, 3 July 2014

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