动态水晶报表 [英] Dynamic Crystal Reports

查看:83
本文介绍了动态水晶报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的网站中,我有几个页面,这些页面使用联接查询从各种数据库表中提取数据并显示数据.我的客户希望这些数据也可以打印.我尝试导出到excel,但由于未安装excel,因此在服务器上不起作用.我无法在服务器上安装excel,因为它是商业版本.但是,我的第二个选择是水晶报表.我不想在设计时创建报告,分配数据集并选择表格等.我希望它像这样工作:

数据将使用存储在数据集/数据表中的联接查询提取.它的一部分在gridview中可见,我想以某种方式将信息发送到Crystal报表,即发送数据集/数据表并显示数据表的列和行.我不希望这样的设计,我只希望它以网格格式显示.有什么办法吗?

我发现的所有解决方案都要求在设计时就先设计报告,然后才能分配数据集.如我所说,是否有可能解决?

In my website, I have several pages that extract data from various database tables using join queries and display the data. My client wants this data to be printable as well. I tried exporting to excel, but it does not work on the server probably because excel is not installed. I cannot install excel on the server as it is commercial one. However, my second option is crystal reports. I do not want to create a report at design time, assign a dataset and choose the tables etc. I want it to work like this:

The data will be extracted using the join queries nad stroed in a dataset/datatable. Part of it is visible in gridview, I want to send the information somehow to the crystal reports i.e. send the dataset/datatable and display the columns and rows of the datatable. I do not want any designing as such, I just want it to be displayed in a grid format. Is there any way?

All the solutions I found demanded the report to be designed initially at design time and then dataset can be assigned. Is there a possibility to work around as I have stated?

Help would be appreciated!

推荐答案

请访问以下链接

将GridView导出到Excel [
Please visit following link

Export GridView to Excel[^]

Thanks,
Imdadhusen


希望 [ ^ ]可能会为您提供帮助.
Hope This[^]may help you.


这篇关于动态水晶报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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