Crystal Reports for Visual Studio .NET
Loading Untyped Report Components with Reports

To load an untyped report component with a report, in the form's source file, call the Load method of the ReportDocument class.

For example, to load the untyped report component, reportDocument1, with c:\My Report.rpt:

[Visual Basic]
reportDocument1.Load ("c:\My Report.rpt")
[C#]
reportDocument1.Load ("c:\\My Report.rpt");
[C++]
reportDocument1->Load ("c:\\My Report.rpt");
[VJ#]
reportDocument1.Load ("c:\\My Report.rpt");

See Also

Manipulating Untyped Report Components

Page view tracker