Using Local Microsoft SQL Server Reporting Services in ASP.NET
page 2 of 4
by Shaun Eutsey
Feedback
Average Rating: 
Views (Total / Last 10 Days): 33679/ 108

The Scenario

Before we get started on actually writing our local report, we should delve into the database that we will be using. As with most example applications we will be working with the Northwind database.  We will write a report based on the Customers and Orders Tables. I will be demonstrating this using parameters and without using parameters. The basic query that I will be using in both instances is below.

Listing 1

Select OrderID,
       OrderDate,
       ShippedDate,
       CompanyName,
       ContactName,
       ShipName,
       ShipAddress,
       ShipCity,
       ShipRegion,
       ShipPostalCode,
       ShipCountry
from   Customers cst
inner join Orders od on
      od.CustomerID = cst.CustomerID 

First, I will create a new website called SSRSExample.  I will be using Visual Basic 2005 as my development language. Also, since this is an example, I am going to go light on the design and focus more on the process of creating the report.

Figure 1


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 5 and 3 and type the answer here:

User Comments

Title: Nice article   
Name: ashwini
Date: 2/23/2011 1:55:55 PM
Comment:
Hi, this is very good stuff . Its very easy to understand.Thanks for explaining step by step
Title: Excellent article   
Name: Tahir
Date: 12/31/2010 1:40:11 AM
Comment:
excellent, to the point and informative.

Thanks
Title: Good Article   
Name: Usman Saeed
Date: 4/1/2010 3:04:17 AM
Comment:
this was quite good
Title: you are fool   
Name: abc
Date: 3/27/2010 2:48:33 AM
Comment:
you r wating our time means your fool and dont submit any doc like this ok .fool fool fool
Title: Useful Article   
Name: Suresh
Date: 1/30/2010 1:09:14 AM
Comment:
Hi Mr Shaun Eutsey
it's very nice and simple
Title: It's Nice   
Name: Ramana
Date: 1/22/2010 4:50:44 AM
Comment:
It' nice and very useful.Thax alot.
Title: It's very useful   
Name: Mohammad
Date: 10/21/2009 3:02:46 AM
Comment:
Hi Mr Shaun Eutsey
Your article is very useful for me but images is not clear.
thanks
Title: Mr   
Name: Sathish
Date: 9/1/2009 7:57:45 AM
Comment:
Awesome!!! This worked like a champion. Very informative and helpful. Thanks
Title: perfect!!!!   
Name: Vaastu
Date: 8/4/2009 12:45:17 AM
Comment:
first of all thank u very much :)
this article really help me to understand ,how to code & design a SQL report Step by Step .
very informatics and very ease to understand with the help of attached snapshots.
This Alliance doing gr8 job Carry on !!!!
Title: Thanks!!   
Name: Pooja
Date: 6/21/2009 9:01:56 PM
Comment:
Very Nicely Explained. Thanks!!!






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2012 ASPAlliance.com  |  Page Processed at 2/12/2012 5:40:44 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search