水晶报表帮助! [英] Crystal reports help!

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

问题描述

大家好!

有人有关于Crystal Reports的良好教程吗?我在制造一个时遇到麻烦.
我浏览了过去两天,但没有任何好处.

我想显示报表中的特定记录,而不是全部(当我在文本框中键入一些订单号时,我只想显示该特定订单的记录).
我已经创建了报告,添加了参数字段,但是当我按下按钮时,它说没有报告源.
代码如下所示:

Hello everyone!

Does ANYONE have good tutorial regarding Crystal Reports?! I`m having a trouble making one.
I`ve browse last two days, but nothing good came out.

I want to show specific record in report, not all of them (when I type in textbox some order number, I want to show only records for that specific order).
I`ve created report, add parameter field, but when I press button, it says that there are no report source.
Code look like this:

ReportDocument report = new ReportDocument();
               report.Load(Server.MapPath("/AdminPages/OrdersReport.rpt"));
               report.SetParameterValue("TransactionNo", id);

               rpt_Order.ReportSource = report;



有人吗?!

重要说明:请与C#链接.



Anyone?!

Important note: please links with C#.

推荐答案

使用parameter fields
C#Crystal Reports字符串参数 [ C#Crystal Reports整数参数 [ C#Crystal Reports Date参数 [
Use parameter fields
C# Crystal Reports String parameter[^]
C# Crystal Reports Integer parameter[^]
C# Crystal Reports Date parameter[^]


同一位代码项目成员已撰写优秀的教程.
Fellow code project member has written excellent tutorial.


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

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