vs 2008 Crystal Report中将webservice作为数据源 [英] webservice as datasource in vs 2008 crystal report

查看:69
本文介绍了vs 2008 Crystal Report中将webservice作为数据源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在VS2008 Crystal报表中使用Web服务作为数据源?

How to use webservice as a data source in VS2008 crystal report?

推荐答案

Crystal报表可以通过以下方式将xml作为其数据将数据库驱动程序设置为ADO,并将数据库设置为生成XML的Web服务的位置(它需要一个URL)-就这么简单!

Crystal reports can take xml as its data by setting the database drivers to ADO and the database to the location of your xml producing webservice (it takes a URL) - its as simple as that!

我原来的路线更多我以为那令人费解创建报告时,数据库专家中有一个名为 XML和Web服务的选项,该选项为您提供了使用HTTP(S)数据源的选项-应该是您的Web服务URL。然后,该报告将通过编程自动从该服务获取数据。

My original route was more convoluted that I thought; when you create the report there is an option in the "Database Expert" called "XML and Web Services" which gives you an option to use an HTTP(S) data source - that should be your webservice URL. The report will then, as if by programming, automatically get data from that service.

这篇关于vs 2008 Crystal Report中将webservice作为数据源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆