将值与数据集一起传递给Crystal报表 [英] Passing value to crystal report along with dataset

查看:103
本文介绍了将值与数据集一起传递给Crystal报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在设计Windows窗体应用程序,但现在r8一直困扰着水晶报告问题.

我有一个水晶报表,我希望在运行时传递文本框值以在报表中显示.

目前,报表可以很好地处理与之绑定的数据集,并且可以正确显示数据字段.

但是我希望我的报告显示数据值以及我正在传递的文本框值.

我是否必须添加参数字段?如何绑定数据?在传递文本框值之前,是否必须将数据集与报表绑定?否则

希望我已经使自己易于理解.

Hey folks,

I am designing a windows forms application but r8 now i m stuck with a crystal report issue.

I have a crystal report in which i want to pass textbox value at runtime to show in the report.

Presently the report is working fine with the dataset it is bound to and it is showing the data fields appropriately.

But i want my report to show the data values as well as the textbox value that i am passing as it is.

Do I have to add parameter fields?And how should i bind the data? Do I have to bind the dataset with report before passing textbox value or otherwise?

I hope i have made myself understandable.

推荐答案

是的,您必须使用parameter fields

C#Crystal Reports字符串参数 [ C#Crystal Reports整数参数 [ C#Crystal Reports Date参数 [
Yep, you have to use parameter fields

C# Crystal Reports String parameter[^]
C# Crystal Reports Integer parameter[^]
C# Crystal Reports Date parameter[^]


这篇关于将值与数据集一起传递给Crystal报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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