0

I have a SSRS solution with a report and I'd like to integrate that report with an C# app that is in another solution. Could anybody you tell me how can I do that?, I'm using visual studio 2010.

David Acosta
  • 27
  • 1
  • 1
  • 5
  • Is it a web app or winforms? – Ross Bush Apr 27 '14 at 01:25
  • The `ReportViewer` Control comes in web and [winforms flavours](http://technet.microsoft.com/en-us/library/aa337089.aspx). You'll need to setup approprate credentials to access your SSRS Server and set the control to `ProcessingMode.Remote`. [This example](http://stackoverflow.com/q/8802707/314291) is for local client, but gives you an idea – StuartLC Apr 27 '14 at 06:07

2 Answers2

2

The ReportViewer component allows you to add a report to a winform application, or you can always launch a web browser out of your application to the report server, passing parameters as needed.

SqlACID
  • 4,024
  • 20
  • 28
0

I did it, I copy the xml (.rdl file) from my SQL Server Data Tools pasted it in my .rdlc faile created in my C# app, after that I updated this line

<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition">

from 2010 to 2008 and after that change my dataset name.

David Acosta
  • 27
  • 1
  • 1
  • 5