Sign in Join
Wiki copytemporary

TDataSet/ja

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

TDataSetはデータベースの実際のデータに対する主なリンクである。TDataSetの派生はテーブルもしくはクエリの結果のカーソルのような振る舞いをする。

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

データセット(例えば、クエリの結果)は以下のように編集できる:

pascal
  ds.Edit();
  ds.FieldByName('NAME').AsString := 'Edited name';
  ds.Post();
  ds.UpdateMode := upWhereAll;
  ds.ApplyUpdates();

非抽象的派生

以下も参照のこと


From the Free Pascal wiki, page "TDataSet/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.

Revision 1, last changed by WikiArchive .

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.