Crystal Reports has been excluded In VS2010. Yes, what you just heard is right. That means, if you install VS 2010 then you will not get Crystal Reports built-in.
But don't worry it is available as a separate download from the SAP web site.
To download Crystal Reports, click on the following link:

Introduction

This is my first article. In this article, I will show you a simple Crystal Report creation process with screenshots using Visual Studio 2010. Because a picture is worth more than a thousand words, so I always believed in an article with screenshots is much better.
Let's start by creating a new website in VS 2010.
Open VS 2010, select Visual C# and ASP.NET Web Site, and click OK as shown below.
t1.gif
This action will create a new Web site project.
Once we have a Web site project created, the next step is to get database access in the project. That we do use a DataSet from a database.
Creation of Dataset (xsd) File
Creation of Crystal report design
Crystal Report Viewer
The following is the final code for reports (Default.aspx).
Code
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.UI;
  6. using System.Web.UI.WebControls;
  7. using CrystalDecisions.CrystalReports.Engine;
  8. using CrystalDecisions.Shared;
  9. using System.Data;
  10. using System.Data.SqlClient;
  11. using System.Configuration;
  12. public partial class _Default : System.Web.UI.Page
  13. {
  14. protected void Page_Load(object sender, EventArgs e)
  15. {
  16. CrystalReportViewer1.Visible = false;
  17. }
  18. protected void cmdcrystal_Click(object sender, EventArgs e)
  19. {
  20. CrystalReportViewer1.Visible = true;
  21. ReportDocument rDoc = new ReportDocument();
  22. Mydataset dset = new Mydataset(); // dataset file name
  23. DataTable dtable = new DataTable(); // data table name
  24. dtable.TableName = "Crystal Report "; // Crystal Report Name
  25. rDoc.Load(Server.MapPath("mycrystal.rpt")); // Your .rpt file path
  26. rDoc.SetDataSource(dset); //set dataset to the report viewer.
  27. CrystalReportViewer1.ReportSource = rDoc;
  28. }
  29. }
Output
output.gif
t20.gif

Summary

Crystal Reports template is not a part of Visual Studio 2010 anymore but you can download Crystal Reports support from the SAP website. In this article, I demonstrated step by step procedure of creating a Website project and add a Crystal Report support. After that, I created a DataSet from a database and in the end, built a report displaying data from the database.