ウィキのコピーミラー

これは pascal.chat のウィキのミラーです。編集、履歴、ログインはそちらで行います。

TDataSource/ja

English · Français · Русский · 日本語

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.

第2版、最終更新:WikiArchive 。