Hi!
I've created report file for crystal report, and have placed report viewer on the form. Can anybody tell me how can I do the following:
1) Displaying the report in the viewer on the form.
2) To be able to change the data source programmatically before displaying it in viewer.
Please respond with sample codes or specify related links.
Thanks in advance.
Sohail.

Using Crystal Reports 10 with C# EE 2005
Lale Divringi - MSFT
Thanks mewdied, it seems to be the case. I have full version of CR 10 and express version of VS 2005. Can anybody who is cent percent sure about not being able to use CR 10 with VS Express 2005, confirm this .
Thanks.
Praveen.P.L
wojciu
Hi!
Thanks for snippet and link, this works great with DotNet 1.1 but I'm using DotNet and C# Express Edition. In C# EE neither I can specify ReportSource nor I can create ReportDocument. Any help will be appreciated.
Thanks.
Nils Andreas Svee
1) to display there are two main ways, depends on if you are embedding the report. But because of your second question I would suggest the following:
place the crystalReportViewer on the form
then add the following code:
ReportDocument myReport = new ReportDocument();
myReport.Load(reportPath);
CrystalReportViewer1.ReportSource = myReport;
2) Check out the following link
http://support.businessobjects.com/library/kbase/articles/c2011464.asp