crystalreport绑定到单独的服务器 [英] crystalreport binding to separate servers

查看:79
本文介绍了crystalreport绑定到单独的服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在VS 2008项目中工作,我需要创建一个水晶报表,其中包含来自两个单独服务器的信息,一个是使用ODBC连接的进度数据库,另一个是来自SQL Server的数据库,我也需要还要从代码中传递参数,实现此目的的最佳方法是什么?
谢谢.

I''m working on a VS 2008 project,I need to create one crystal report which hold information coming from two separate servers, one is a progress database that uses an ODBC connection and another is from SQL server,also I need to pass parameter from code also, What is the best way to acheive this?
Thanks.

推荐答案

使用XSD文件设计报告.您可以使用数据集中所需的任何连接来获取数据,并将DataSource设置为该数据集并显示报告.

此处 [
Design your report using XSD file. You can fetch your data using any connection you want in a dataset and set the DataSource to that dataset and show the report.

Here [^] is an example how to create report from XSD.


这篇关于crystalreport绑定到单独的服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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