.NET
  Home arrow .NET arrow Using CrystalReportViewer to Display Cryst...
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? 
.NET

Using CrystalReportViewer to Display Crystal Reports in .Net
By: Madhuri Chanda
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 3
    2008-10-07

    Table of Contents:
  • Using CrystalReportViewer to Display Crystal Reports in .Net
  • Binding with the Report Source Property
  • Binding with Code
  • Toolbar Functions

  • 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


    Using CrystalReportViewer to Display Crystal Reports in .Net


    (Page 1 of 4 )

    I explained in my previous article how to use Crystal Report Viewer to see Crystal Reports in an application. In this article you will learn about Crystal Report Viewer in more detail.

    First of all, having Crystal Reports along with Visual Studio .Net is a great advantage. It makes certain tasks easier for developers. Along with Crystal Reports, Visual Studio .Net provides various tools which help developers build applications faster. Crystal Report Viewer is one of the tools available in Visual Studio to help you bind Crystal Reports to your Windows forms and view reports as part of a Windows application.

    There are two Crystal Report Viewers. One is Crystal Report Viewer for Windows forms and one is Crystal Report Viewer for web forms. We will focus on the former in this article. 

    Let's see how to bind a report to Crystal Report Viewer.

    • Create any Crystal Report in your Windows application. Please refer to my previous article on creating summary Crystal Reports for more information.

    • Create a new Windows form. Go to Project Menu -> Add Windows Form.

    • Adjust the form size as per your Crystal Report size.

    • Crystal Report Viewer is a control available in the tool box with Visual Studio.net.



    • Add this control to your Windows form.

    • Resize the control (Crystal Report Viewer) so that it will fill the entire form. To do this, right click on Crystal Report Viewer and set its Dock Property to Fill. Select the drop down box and click on the middle square to set the property to Fill.



    More .NET Articles
    More By Madhuri Chanda


     

    .NET ARTICLES

    - Using CrystalReportViewer to Display Crystal...
    - Creating Summary .Net Crystal Reports
    - More on Commands, Input and the WPF
    - Grouping and Aggregating When Querying LINQ ...
    - Commands, Input and the WPF
    - Keyboard and Ink Input with WPF
    - Mouse Input and the WPF
    - Input with Windows Presentation Foundation
    - Introducing LINQ with XML and Databases
    - An Introduction to LINQ
    - Querying LINQ to SQL: Basics
    - Completing a Simple Storefront with LINQ
    - Knowing Your Environment: the System.Environ...
    - Creating the Home Page for a Simple Storefro...
    - LINQ Quickly with Language Integrated Queries

     
    Application Delivery: Everything You Wanted to Know, but Didn`t Know You Needed to Ask
    A comprehensive guide to examining the topics of Wide-area Data Services and app....

     
    Best Practices: Safe and Secure Hardware Asset Recovery
    Companies increasingly must meet EPA and local requirements for the disposal of ....

     
    Managing SSL Security in Multi-Server Environments
    Read this white paper to learn how to simplify management of your organization's....

     
    Open Source Security Myths
    Open Source Software (OSS) is computer software whose source code is available t....

     
    Power and Cooling Capacity Management for Data Centers
    This paper describes the principles for achieving power and cooling capacity man....

     




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