Before you can display the report from within an ASP.NET application, you'll need to embed the CrystalReportViewer control on a page. In this section, you'll learn to use the control and then to view the page you've created.
Follow these steps to set up the CrystalReportViewer control on a page to display your report:
Use the Project, Add Web Form menu item to add a new page. Name the page ProductsReport.aspx.
Set the PageLayout property for this new page to flowLayout.
In the Toolbox window, double-click the CrystalReportViewer control to add an instance to your new page.
Set the new control's ID property to cvwProducts and its DisplayGroupTree property to False.
The viewer ...