ASP.NET
  Home arrow ASP.NET arrow Programming Crystal Reports with ASP.NET 2...
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  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
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

Programming Crystal Reports with ASP.NET 2.0
By: Jagadish Chaterjee
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 145
    2007-06-04

    Table of Contents:
  • Programming Crystal Reports with ASP.NET 2.0
  • Adding a Crystal Report to the Project
  • Crystal Report Components
  • Providing Login information for the CrystalReportViewer control dynamically
  • Hiding the toolbar and adding First, Last, Next and Previous page buttons to the report
  • Enhancing the report with run-time binding along with session handling

  • 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


    Programming Crystal Reports with ASP.NET 2.0


    (Page 1 of 6 )

    This is the first article in a series focusing on programming with Crystal Reports with ASP.NET 2.0. In this article, we will focus on adding a Crystal Report to an ASP.NET 2.0 web site and displaying the same using the CrystalReportViewer control in a number of different ways.
    A downloadable zip file is available for this article.

    The entire solution (source code) for this article is available as a free download (in the form of a zip). The source code in this article has been developed using Microsoft Visual Studio 2005 Professional Edition on Microsoft Windows Vista Ultimate Edition with Microsoft SQL Server 2005 Express Edition. I used the same version of Crystal Reports which comes with Visual Studio 2005 Professional Edition. I didn't really test any of the code in any other tools/IDEs/servers/editions/versions. If you have any problems, please feel free to post in the discussion area.

    I contributed two articles focusing on the capabilities of ASP.NET 2.0's built-in reporting. If you are new to the built-in reporting (also called local reporting), you can find the articles here:

    http://www.aspfree.com/c/a/ASP.NET/Designing-and-Developing-Reports-in-
    ASPNET-20/

    http://www.aspfree.com/c/a/ASP.NET/Binding-Data-to-the-ReportViewer-Control-
    Dynamically-in-ASPNET-20/

    Starting an ASP.NET 2.0 Web Site Project

    The following are the steps necessary to create a new ASP.NET 2.0 web site:

    • Open Microsoft Visual Studio 2005 Professional Edition
    • Open File || New || Web Site

    • Select "ASP.NET Web Site" in templates, select "File System" as the location, provide the website name "SampleWebSite01"  and finally click on OK.

    • Right click on "SampleWebSite01" available in Solution Explorer and select "Add New Item."

    The next section walks you through adding a Crystal report to the project.

    More ASP.NET Articles
    More By Jagadish Chaterjee


       · Hello guys,This is first in the series focusing on "Progamming with Crystal...
       · Hi,This is first in series focusing on "Programming Crystal Reports with ASP.NET...
       · Good Stuff here so far. Would like to see things get more advanced! Thanks for...
       · Hithis is 1 day in new project, I dn't know the ABC of Crystal report, I read your...
       · I would like information on how to set the web server up to run the crystal reports...
       · This article is very fine to activate CR in website.If u give details about CR...
       · This is one of the best tutorials on setting up Crystal Reports within a .Net and...
       · hi i m ajit.. working on crystalln reports . i put the data in crystal report...
       · I have found this article very useful for me as beginner :),,,,,,,,,, hope u'll be...
       · Thank you Jagadish,This was like buying something that works out of the...
       · Hi Sir, this Artical is Very Nice.Thank you.kamala
       · Hi Jag,Thank you very much for this article. After several hours of searching...
       · Hi sir,Thanks for posting, but while i run the application page6(i.e dynamically...
       · Hi Jagan,thanks a ton for the information provided..do you any have clue on how we...
       · it is avery useful article
       · Hi Sir Thank you for posting such an Imporatant and Useful Tutorial on Crystal...
       · we set "EnableParameterPrompt="False"". I apprecite if you can explain how pass...
       · Hi Sr.Thank for Your Contributions.I have a problem with this code Dim...
       · First thanks for sharing.I want choose a crystal report from a dropdownlist but...
     

    ASP.NET ARTICLES

    - Develop Your First ASP.NET Website with Visu...
    - Run ASP.NET in Windows XP Home with Cassini ...
    - How to Test a Web Application
    - How to Add Code and Validation Controls to a...
    - Working in Source and Split Views to Build a...
    - How to Build a Web Form for a One-Page Web A...
    - How to Develop a One-Page Web Application
    - An ASP.NET Web Application in Action
    - Developing ASP.NET Web Applications
    - An Introduction to ASP.NET Web Programming
    - Introduction to the ADO.NET Entity Framework...
    - Completing an In-Text Advertising System und...
    - Programming an In-Text Advertising System un...
    - Building an In-Text Advertising System Under...
    - Developing a Mini ASP.NET AJAX Server Centri...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    Stay green...Green IT