且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

RDLC在WPF中报告

更新时间:2022-10-23 16:25:37

演练:在WPF中使用ReportViewer申请 [ ^ ]

What is the simplest way to add a simple RDLC report in WPF
after a lot of work I came to know about following things that are required to generate a report(RDLC) in WPF.
- A report ( myreport.rdlc ) file.
- A report viewer ( in case of WPF, winform report viewer will be used to host rdlc report)
- ReportDataSource for report ( I'm not using any database ,I want to print simple text on report)
- A DataSet for the ReortDataSource.

What I have tried:

This is what is get after a lot of struggle on Internet. Can some refer me to simple article or video tutorial about how use all these components in order to generate a report.
there is a couple of articles on Internet but I couldn't find a single one perfect.

Walkthrough: Using ReportViewer in a WPF Application[^]