delphi 中如何调用webservice返回dataset 数据集

We're nearly there. Drop a TClientDataset, a TXMLTransformProvider and a TDatasource on the form. Here's what the form looks like now:

Link the Grid, the Datasource and the ClientDataset, and set the ClientDataset's ProviderName to point to the XML Transform Provider. 7. Set the TransformRead.TransformationFile of the XMLTransformProvider to Ziptrans.XTR.

首先先将dataset存成xml文件,然后利用delphi提供的外部工具 xml mapping tool 将生成的xml文件转换成xtr模版文件。然后根据上述方法设置好各个控件的连接。

xml mapping tool 使用方法:1、导入生成好的xml文件 file-open 2、在document区域中右键选择 select all 3、菜单栏 create--datapacket form xml 4、菜单栏 create-transformation  5、菜单栏 file--save--transformation 保存xtr文件。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值