In the report wizard, expand ADO.NET Datasets to locate your newly created dataset table. Move the necessary fields into the "Detail" section of the layout. crystal reports for visual studio 2010

Drag a CrystalReportViewer control onto your Windows Form or Web Form ( .aspx ). In the report wizard, expand ADO

Right-click your project in Solution Explorer -> Add New Item -> Select DataSet (an .xsd file). Create a blank Data Table and add columns matching your database schema. In the report wizard

ReportDocument rptDoc = new ReportDocument(); rptDoc.Load(Server.MapPath("YourReport.rpt")); // Load the RPT file rptDoc.SetDataSource(yourPopulatedDataSet); // Bind data CrystalReportViewer1.ReportSource = rptDoc; // Display on viewer Use code with caution. Copied to clipboard ⚠️ Important Deployment Constraints Crystal Reports in Visual Studio 2010 - SAP Community