Sign in Join
Wiki copytemporary

Revision 2 of 2, by Ariben on 3-31-2024. The page as it is now.

TDataSource/ja

TDataSource はデータベースを表すTDataSet/jaに基づいたコンポーネントとTDBGrid/jaといったデータコントロールを仲介する。

典型的にはTDataSourceはTSQLQueryや、他のTDataSetの派生に接続するフィールド「DataSet」を含む。DataSourceはTDBGridや他のデータコントロールコンポーネントの「DataSource」に接続されるべきである。

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

以下も参照のこと


From the Free Pascal wiki, page "TDataSource/ja", as it stood on 2024-03-31 after a change by Ariben, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.