简体   繁体   中英

Can you put a SSRS report into an ASP.NET application?

Can you put an SSRS report into a asp.net web application? I mean directly into the application. I have to migrate an application from an older server to a new server and the report that is written with another technology keeps crapping out on me. One co-worker has suggested to me that I rewrite the reports in SSRS. But the application is creating it's database in code and if I have to create a separate proj I will have to start picking apart my code into two projects. I don't have the time to do that currently.

There's a couple of ways to do this. One is to use RDLC files which are basically standalone SSRS reports you can embed within the application See tutorial here

Another way is to embed an iFrame into your ASP application that uses the RS service described here

A third way (that we use) is to run some code against the SSRS SOAP service and return a DIV or HTML that we then embed into our own HTML described here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM