How to develop client side SSRS report using Reports Builder 3.0 and embed in ReportViewer?

无人久伴 提交于 2019-12-12 19:10:56

问题


Sorry for being a newbie to SSRS.

My design goal:

Near term: develop - using SSRS - a simple client side (no reporting server!) report - based on MS SQL data tables, and embed it into the .NET WPF client (application)

Long term: for additional reports, hire external SSRS experts, so they will provide the reports developed, and I will integrate them into the same WPF application.

I managed to do 2 things:

  1. Develop a simple report connecting to MS SQL, using Reports Builder 3.0 - as a result, an RDL file was generated (the file contains all the DB connections)

  2. Embed a ReportViewer WinForms control into the WPF application.

Unfortunately, I wasn't able to load the report I developed, into the application.

I understood from articles on the new that RDL is not designed to support client-side execution (without a server), and RDLC should be used instead. However, I wasn't able to figure out how to conver the report to RDLC, using the Reports Builder - it does not give me an option to save in a different format.

I would appreciate any hint from the experienced people on how to accomplish my goal.

Specifically, should I use RDLC, and if positive - what's the way to get the report in this format?

Thanks Max


回答1:


I would recommend using Visual Studio when creating RDLC reports that will be embedded within an application and run in "Local" mode, and using either Microsoft Report Builder or Visual Studio to create RDL reports that will run in "Server" mode within SSRS.

A RDLC report would be created within a WPF Visual Studio project be simply creating a new Report.

A RDL report would be created within a Reports Server project when using Visual Studio.

Alternatively, it appears you could simply rename the file from RDL to RDLC if you don't mind manually correcting the Data Source information in the report definition file: http://msdn.microsoft.com/en-us/library/ms252109(v=vs.120).aspx.



来源:https://stackoverflow.com/questions/24426048/how-to-develop-client-side-ssrs-report-using-reports-builder-3-0-and-embed-in-re

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!