Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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?
Posted
Updated 15-Nov-10 23:08pm
v2

1 solution

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;
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900