报告向导 [英] Report wizard

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

问题描述


我想从窗体传递消息以报告向导.我知道我可以使用参数来做到这一点.您能建议我怎么做吗?

Hi,
I want to pass a message to report wizard from a Form. I came to know that I can do this with parameters. Can you suggest me how to do it?

推荐答案

如果您正在谈论Crystal Reports:

您必须使用引用CrystalDecisions.*

然后在按钮中单击
If you are Talking about Crystal Reports:

u have to use the references CrystalDecisions.*

and in button click
Reports.ReportName report=new Reports.ReportName();
report.setDatabaseLogon("Database UserName","Database Password");
report.setParameterValue("ParameterName",ParameterValue);
CrystalReportViewer1.ReportSource = report;


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

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