Difference between revisions of "TDataSet"

From Free Pascal wiki
Jump to navigationJump to search
Line 7: Line 7:
  
 
== non-abstract descendants ==
 
== non-abstract descendants ==
* [[TBufDataSet]]
+
* [[TBufDataSet]] -
* [[TMemDataSet]]
+
* [[TMemDataSet]] -
* [[TSdfDataSet]]
+
* [[TSdfDataSet]] -
 
* [[TFixedFormatDataSet]]
 
* [[TFixedFormatDataSet]]
* [[TDbf]]
+
* [[TDbf]] - connect to dBase
* [[TParadox]]
+
* [[TParadox]] - connect to Paradox/BDE
 
* [[TFPCodeGenerator]]
 
* [[TFPCodeGenerator]]
* [[TSQLQuery]]
+
* [[TSQLQuery]] - connect to results of a SQL-query
  
 
== Freepascal Documentation ==
 
== Freepascal Documentation ==

Revision as of 14:42, 4 July 2014

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

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

non-abstract descendants

Freepascal Documentation