Let's spend the remainder of this chapter discussing the standard reporting tools provided in Visual Studio. As mentioned earlier, two
ReportViewer classes are included in Visual Studio: one for desktop development and one for web development. I'll be talking about only the desktop variation in this chapter. The designer used to develop these reports does not differentiate between the report target (desktop or browser). There are some differences in deployment, but I'll have to leave the web deployment to a future best-selling programming book, or to your own research.
MicrosoftReportViewer control integrates directly with Microsoft SQL Server Reporting Services, displaying whole pages generated by that server-based system. Since we're assuming that you are using SQL Server Express Edition for your development (which does not include Reporting Services), I'll focus instead on the control's "local" mode presentation. This lets you display any data from any source you choose on each report display page, including SQL Server.