Solved

asp.net reportviewer stored procedure

Posted on 2013-12-11
7
728 Views
Last Modified: 2014-02-16
Can somebody please tell me step by step how to add a report service project to my asp.net solution. The report should be based on the results of my stored procedure so will have parameters that it passes and then displays the result set.

Seems like a straightforward request but I can't find anything on internet which specifically deals with this.

Using VS 2010 asp.net c# and sql server express 2008 R2
0
Comment
Question by:Paulmc999
  • 4
  • 2
7 Comments
 
LVL 39

Expert Comment

by:lcohan
Comment Utility
SSRS reports are available as an URL on the report server. You add reports to an asp.net application by hyper-linking to them and please see more details here:

http://codebetter.com/petervanooijen/2005/11/15/using-sql-reporting-services-in-an-asp-net-application-with-some-notes-on-report-parameters/
0
 
LVL 2

Author Comment

by:Paulmc999
Comment Utility
Is there a more recent article and one that displays the screenshots...they will not display.

I am awware of the report server route but can you tell me categorical that what I want to do is impossible ie call a stored procedure and populate the reportviewer with the results??
0
 
LVL 9

Expert Comment

by:QuinnDex
Comment Utility
In the tableadapter configuration wizard, choose the commande type : Use existing stored procedures (for more information go to the MSDN : TableAdapter Configuration Wizard
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 2

Author Comment

by:Paulmc999
Comment Utility
I already found that myself but it doesn't show me how to actually use the tableadapter and how it connects with reportviewer. Anybody got a step by step approach?
0
 
LVL 9

Expert Comment

by:QuinnDex
Comment Utility
sorry at work at the moment so have tried to find you something you can see, try this

http://www.youtube.com/watch?v=rvikG8evRfI
0
 
LVL 2

Accepted Solution

by:
Paulmc999 earned 0 total points
Comment Utility
OK Guys I found this book "Clientside Reporting in VS c#" by Apress. Its old but it helped me to do this.
0
 
LVL 2

Author Closing Comment

by:Paulmc999
Comment Utility
It was the step by step I requested and although a bit out of date I was able to figure it out.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Need Counts 11 40
Converting C# Objects into JSON file 7 36
.net Multiple Row Form Fields Data Entry 4 16
SQL Date Retrival 7 25
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now