TDBGrid
From Free Pascal wiki
Jump to navigationJump to searchTDBGrid is a visual component that displays tabular data from database contents through means of a TDataSet derivative like a TSQLQuery.
SQLTransaction1.Database := SQLConnection1; SQLQuery1.Transaction := SQLTransaction1; DataSource1.DataSet := SQLQuery1; DBGrid1.DataSource := DataSource1;
Freepascal Documentation