ASP.NET
  Home arrow ASP.NET arrow Designing and Developing Reports in ASP.NE...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP.NET

Designing and Developing Reports in ASP.NET 2.0
By: Jagadish Chaterjee
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 75
    2006-11-06

    Table of Contents:
  • Designing and Developing Reports in ASP.NET 2.0
  • Creating a strongly-typed data set
  • Adding to and designing the report based on the data set
  • Displaying the report using the ReportViewer control
  • Attaching reports to the ReportViewer control dynamically

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Designing and Developing Reports in ASP.NET 2.0


    (Page 1 of 5 )

    This is the first article in a series focusing on designing/presenting native reports using ASP.NET 2.0. Throughout this series, I will focus on working with the “ReportViewer” control in local mode to develop web-based applications.
    A downloadable file is available for this article.

    The entire source code for this article is available in the form of a downloadable zip file. The solution was developed using Microsoft Visual Studio 2005 Professional Edition on Microsoft Windows Server 2003 Enterprise Edition together with Microsoft SQL Server 2005 Developer Edition.  I didn't really test the solution with any other/previous editions. 

    Solutions for developing and designing reports in ASP.NET 2.0

    We have several solutions for designing and developing reports in ASP.NET 2.0.  The most robust reporting solutions recommended by Microsoft are the following:

    • SQL Server 2005 Reporting Services (Server Mode)
    • Embedded Reporting (Local Mode) using Visual Studio 2005/Visual Web Developer
    • SQL Server 2005 Express Edition with Advanced Services
    • Crystal Reports

    The first three are the solutions from Microsoft; Crystal Reports is from "Business Objects" (http://www.businessobjects.com/).  To deploy Crystal Reports, based on the requirements, you may need to have a separate licensing scheme. 

    SQL Server 2005 Reporting Services comes free, if you have at least one SQL Server 2005 license.  Embedded Reporting (local mode) is part of your Visual Studio 2005 (or Visual Web Developer) and local to every application you develop.  It does not depend on any other server/service/tool.

    "SQL Server 2005 Express Edition with Advanced Services" is a bit different from all of the others listed above.  First of all, SQL Server 2005 Express Edition is a free database engine offered by Microsoft to embed as part of our application.  It is basically a lightweight database engine for SQL Server 2005. Later came "SQL Server 2005 Express Edition with Advanced Services," which includes a database engine (a lightweight version of the SQL Server 2005 database engine), Management Studio Express (a lightweight version of SQL Server Management Studio), Reporting Services (a free lightweight version of SQL Server 2005 Reporting Services) and support for full text search.

    You can download "SQL Server 2005 Express Edition with Advanced Services" for free.

    Apart from the above solutions, we also have numerous third-party reporting solutions which can be directly integrated into ASP.NET 2.0/Visual Studio environment.  The following area  few of the most used third-party reporting solutions:

    For simple reporting (especially reports based on columns/rows/grouping), we can still depend on advanced ASP.NET 2.0 server controls like GridView, DataList, Repeater, and so on.  But they lack robustness and built-in support for exporting to other formats like Excel, PDF, Charts, and so forth.

    Our discussion in this series will be limited to "Embedded Reporting" (local mode).  If you have Visual Studio 2005 installed on your system, you are ready to start.  But if you have Visual Web Developer, you may need to download an additional add-in (free) available from Microsoft. You can also download sample SQL Server 2005 databases (provided by Microsoft).

    More ASP.NET Articles
    More By Jagadish Chaterjee


       · Hello guys, this article introduces you the reporting in ASP.NET 2.0. Enjoy!
       · hi,The entire article was very good. Keep up the good work.I would like to see...
       · Its wonderful and solved all my problem. Thanks
       · Hi,thanks for the article. It works fineBut I want to use my Stored procedure...
       · Thanks for a very good article. But will your solution work in the medium trust...
       · This article is very good. Guidence given in the article is easy to follow and gets...
       · HiI am doing a project in asp.net and crystal reports is not working (both...
       · HiI am doing a project in asp.net and crystal reports is not working (both...
       · HiI am doing a project in asp.net and crystal reports is not working (both...
     

    ASP.NET ARTICLES

    - Disadvantages of the ASP.NET MVC Framework
    - Advantages of the ASP.NET MVC Approach
    - ASP.NET Web Forms Weaknesses
    - ASP.NET Web Forms Meets ASP.NET MVC
    - Source Code for Saving and Retrieving Data w...
    - Using GridView to Save and Retrieve Data wit...
    - Handling Dynamic Images in ASP.NET 3.5 AJAX ...
    - Retrieving Data with AJAX and the GridView C...
    - Playing with Images in ASP.NET 3.5 AJAX Appl...
    - Saving and Retrieving Data with AJAX
    - Enhancing PHP Via the ASP.NET AJAX Framework...
    - Enhancing PHP Programming with the ASP.NET A...
    - Classes and ASP.NET AJAX
    - Using ASP.NET AJAX
    - Building a Simple Storefront with LINQ





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
    Stay green...Green IT