晶体报告的参数 [英] Parameters to a crystal report

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

问题描述

在我的Windows应用程序水晶报告中,我想通过选择医生姓名和两个日期开始和结束日期从数据库中检索数据。在 form1 中拖放 CrystalReportViewer 以查看报告, comboBox(cmbDoctorName )和两个 datetimePickers(startDate和endDate) ) button1 控件。每当用户希望查看报告时,首先他将从 cmbDoctorName startDate和endDate 中选择医生姓名,然后点击 button1 ,应该通过单击 button1 显示报告,而不显示丑陋的参数对话框。



注意:我使用<开发此Windows应用程序b> VS2005 C#2.0 和 SQL Server 2005

In my windows application crystal report, i want to retrieve data from database by selecting a Doctor Name and two dates Start and End Dates. In form1 where I dragged and dropped a CrystalReportViewer to view the report, a comboBox(cmbDoctorName) and two datetimePickers(startDate and endDate) and a button1 control. Whenever the user wishes to view report, first he will select Doctor Name from cmbDoctorName and startDate and endDate then click button1, the report should be shown by clicking button1 without appearing the ugly parameters dialog.

Note: I developed this windows application by using VS2005 C#2.0 and SQL Server 2005.

推荐答案

这里你去



C#Crystal Reports字符串参数 [ ^ ]

C#Crystal Reports整数参数 [ ^ ]

C#Crystal Reports日期参数 [ ^ ]
Here you go

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


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

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