MS SQL Server
  Home arrow MS SQL Server arrow Page 2 - Creating a Chart with SQL 2000 Reporting S...
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? 
MS SQL SERVER

Creating a Chart with SQL 2000 Reporting Services
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 17
    2005-04-25

    Table of Contents:
  • Creating a Chart with SQL 2000 Reporting Services
  • Choosing Data for the Chart
  • Creating a Report Project in Visual Studio .NET IDE
  • Configuring the DataSet
  • Configuring the Layout
  • Configuring Chart Axes and Customizing

  • 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


    Creating a Chart with SQL 2000 Reporting Services - Choosing Data for the Chart


    (Page 2 of 6 )

    Almost any kind of data can be used for creating charts of various kinds, and there is hardly any human activity where charts are not used. For the purposes of this article, a simple data source is chosen so that the screen shots can be meaningfully appreciated. The data source is from an Excel spread sheet consisting of the plotting of time against some relative values. Because of this choice, this article is also about how to connect to Excel and use Excel data with Visual Studio .NET 2003 IDE. This data is shown in the next picture, from an Excel file.

    Creating a Data Source

    In order to use this data to create a report/graph/chart in the IDE, it is necessary to create an ODBC data source so that the IDE can connect to the data stored in the Excel file. This can be accomplished by calling up the ODBC Data Source Administrator->ODBC Sources in the control panel shown in the next picture.

    While parked in the System DSN tab, clicking Add... will bring up the next dialogue, wherein you choose an appropriate driver -- in this case, the Microsoft Excel Driver.

    When you click FINISH for the above screen, you are prompted to provide information as to where the data is coming from and add some description.

    Now you click on Select Workbook, which brings up the next screen, where you navigate to the location where your file is stored. In this case, the workbook chosen is called 'TestBook.xls' on the C:\ drive.

    The user given System DSN name is NetChart and there is some description for documentation. This uses the version of Excel shown in this picture. The workbook location on the drive is also shown in this picture. The access to the Excel file is now available by using the DSN created in this step.

    More MS SQL Server Articles
    More By Jayaram Krishnaswamy


     

    MS SQL SERVER ARTICLES

    - Windows Server 2008 as a Workstation OS
    - An Overview of Windows Server 2008 R2
    - LINQ to MySQL, Oracle and PostgreSQL Provide...
    - Completing the Introduction to Transact-SQL
    - A Brief Introduction to Transact-SQL
    - Lookups and Blocking Bad Data
    - Field Validation Rules for Blocking Bad Data
    - Using Masks to Block Bad Data
    - Blocking Bad Data
    - Using @@ROWCOUNT and TABLE Variables for Dat...
    - How to Use Variables, IF and CASE in Databas...
    - Creating Important Aspects of Notification S...
    - Working wth Variables in Database Interactio...
    - Delving Deeper into Notification Services
    - Notification Services





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek