Solved

C#.Net - calling a report using SSRS

Posted on 2011-03-14
3
652 Views
Last Modified: 2012-05-11
I have a created in MS SQL 2005 a report named ODC and it has 1 parameter RN.
I want to be able to programmatically call (in C#.NET) the report using SQL Server Reporting Services (SSRS).
The file should be saved to C:\reports\ and named ODC + the value of RN
Can someone provide me a simple solution
(I am a new programmer to C# using the Express version).
0
Comment
Question by:n2dweb
  • 2
3 Comments
 
LVL 1

Author Comment

by:n2dweb
ID: 35134440
This is a console application. (Not a web app) - thanks
0
 
LVL 13

Accepted Solution

by:
agarwalrahul earned 500 total points
ID: 35135777
0
 
LVL 1

Author Comment

by:n2dweb
ID: 35136337
I have created a project using the code but the web reference does not like:
            RS2005.ReportingService2005 rs;
 If I type RS2005.  then the auto complete points to references
            RS2005.ReportHistorySnapshot;
            RS2005.ReportingService2005Soap
and others. but not to RS2005.ReportingService2005

Please help
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 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

16 Experts available now in Live!

Get 1:1 Help Now