RESTClient控件返回数据集
用到的控件
RESTClient
RESTResponseDataSetAdapter
procedure Tfrm_Main.btn_DataSet_FetchDataClick(Sender: TObject); begin ResetRESTComponentsToDefaults; RESTResponseDataSetAdapter.Response:= RESTResponse; RESTResponseDataSetAdapter.Dataset:= ClientDataSet; RESTClient.BaseURL := edt_DataSet_BaseURL.Text; RESTRequest.Resource := edt_DataSet_ResourceURI.Text; RESTRequest.Execute; end;
官方例子Studio\14.0\Samples\Object Pascal\Database\RESTDemo
RESTClient 控件 从服务器获得数据集,布布扣,bubuko.com
时间: 2024-10-06 19:54:44