Difference between revisions of "TDBGrid"
From Lazarus wiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
− | '''TDBGrid''' [[image:tdbgrid.png]] is a visual component that displays tabular data from database contents through means of a [[TDataSet]] derivative like a [[TSQLQuery]]. The TDBGrid component is available from the [[ | + | '''TDBGrid''' [[image:tdbgrid.png]] is a visual component that displays tabular data from database contents through means of a [[TDataSet]] derivative like a [[TSQLQuery]]. The TDBGrid component is available from the [[Data Controls tab]] of the [[Component Palette]]. |
SQLTransaction1.Database := SQLConnection1; | SQLTransaction1.Database := SQLConnection1; |
Revision as of 22:12, 24 July 2016
TDBGrid is a visual component that displays tabular data from database contents through means of a TDataSet derivative like a TSQLQuery. The TDBGrid component is available from the Data Controls tab of the Component Palette.
SQLTransaction1.Database := SQLConnection1; SQLQuery1.Transaction := SQLTransaction1; DataSource1.DataSet := SQLQuery1; DBGrid1.DataSource := DataSource1;
Freepascal Documentation