.NET
  Home arrow .NET arrow Page 3 - Generating a Simple Crystal Report using V...
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

Generating a Simple Crystal Report using VS 2005
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 26
    2006-11-01

    Table of Contents:
  • Generating a Simple Crystal Report using VS 2005
  • Creating a Crystal Report Project
  • Report Generation
  • Creating a DataLink file
  • Selecting the Data
  • Choosing a Style for the Report
  • Displaying the Report

  • 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


    Generating a Simple Crystal Report using VS 2005 - Report Generation


    (Page 3 of 7 )

    Invoking the Report Wizard

    When the application is created, the CrystalReport1.rpt tab will be in the default view with the window Crystal Reports Gallery contained in it as shown. As you can see from this you have three options to choose from. For this tutorial, the first option is chosen.

    Accessing the Data

    When you click on the OK button, you will get to the Standard Report Creation Wizard window as shown. There are lots of locations and sources that the data can come from, including the possibility to create a new connection.

    Creating a New Connection

    For this tutorial a new connection will be established to get the data. When you expand the Create New Connection node you will see even more options.

    Choosing an OLEDB Provider

    We will be using an OLEDB provider, so click on the OLEDB (ADO) folder which shows the OLEDB Providers available in the drop-down in the right pane. We plan to get the data from the SQL 2005 Server using the SQL Native Client. Highlight the SQL Native Client. Place a check mark in the checkbox Use DataLink file. Well, you might not have a DataLink file ready to be used. However, in the next sub-section we will create a DataLink file, and when this is created, we will browse to it by clicking the ellipsis button (...) in the Ole DB Provider screen.

    More .NET Articles
    More By Jayaram Krishnaswamy


       · Clean, pleasing reports can be generated quite easily and fast. But if you use the...
       · I can't get this working. Maybe why you have received no comments?Also there is...
       · There could be more than one reason for this. You may have certain problems with...
     

    .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





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