如何从Web服务数据制作Crystal Report [英] How do i make Crystal Report from webservice data

查看:95
本文介绍了如何从Web服务数据制作Crystal Report的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我该如何在C#Windows应用程序中制作Crystal Report,我需要显示来自Web Service的数据.是否需要为数据表设置数据集.实际上我是通过WebService Proxy中的一个对象获取所有数据的.想在客户端我不想访问数据库.那我该怎么办?有没有办法将所有值放入列表并在不使用数据集的情况下执行相同操作?

问候,
Shameen CP

Hello All,

How do i make crystal report in c# windows application and i need to display the data from the web service.Is there any need to set data set for the data table.Actually i m getting all data though an object from the webservice proxy.So i think in client side i dont want to access database.So how will i do? Is there any way to put all values in to list and do the same without using data set?Can any one help me out.Waiting for your reply.

Regards,
Shameen CP

推荐答案

您的Web服务应具有将数据返回到Windows应用程序的方法,该方法将显示在报告中. Windows应用程序应调用此方法并取回数据.然后可以将这些数据输入到Crystal Report.希望对您有所帮助.
Your web service should have a method that will return the data to the windows application which will be shown in the report. The windows application should call this method and get the data back. This data can then be fed to Crystal Report. Hope this helps.


检索所有数据时,请使用ReportSource属性将信息分配给Crystal报表,然后使用DataSet传递信息.


绑定到ReportSource [
When you retrive all the Data assign the information to the crystal report using the ReportSource property, pass the information using a DataSet.


Binding to ReportSource[^]


这篇关于如何从Web服务数据制作Crystal Report的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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