Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 22nd, 2004, 12:01 AM
Registered User
 
Join Date: Jun 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to shivani16 Send a message via MSN to shivani16 Send a message via Yahoo to shivani16
Default store proc use in report services of sql server

Hi

this is an urgent query i want to use store procedure to make some calculation and then want to draw a graoh by returned value.
i am using sql server report services and i want to know how we create store procedure in this and how we execute and how can i get data which i can send to graph.
please explain step by step

thanks
shivani

 
Old June 22nd, 2004, 01:30 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

If you want to use a stored procedure, first create that procedure in SQL Server.
Next, open your report and switch to the Data tab. Click the button with the three ellipses (Edit Selected DataSet), choose StoredProcedure from the Command type drop-down and click OK.
The toolbar of the Data tab changes and displays a drop-down with all your procedures. Choose your procedure from the drop-down.

From this point on, things are pretty much the same as with a direct SQL statement.

Hope this helps,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Pretty by KoRn (Track 8 from the album: Follow The Leader) What's This?
 
Old June 22nd, 2004, 11:12 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Hovik,

Did you miss the original topic of this post (Microsoft SQL Server Reporting Services, Microsoft's Reporting solution), or is there something about RS that I don't know (which is quite possible as I do not know much about it ;) )....

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Suck it Up by Hed Planet Earth (Track 1 from the album: Blackout ) What's This?
 
Old June 22nd, 2004, 11:17 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

Opps! I guess I post it to wronge Topic!
Sorry Imar & shivani16

Always:),
Hovik Melkomian.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Same Store Proc run 100x slower in identical sql-s jphan5024 SQL Server 2000 0 May 13th, 2008 04:15 PM
sending NULLs into a SQL Server PROC lisabb ASP.NET 2.0 Basics 1 June 21st, 2007 03:36 PM
problem sending values into SQL Server Proc lisabb ASP.NET 2.0 Basics 2 May 23rd, 2007 01:19 PM
MS Access .mdb calling SQL server 2000 stored proc fazzou Access 6 September 8th, 2006 11:32 AM
Report Server File Share In SQL Reporting Services liliarum BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 2 July 8th, 2004 04:16 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.