问题描述
在WPF中添加简单RDLC报告的最简单方法
经过大量工作后我了解了在WPF中生成报告(RDLC)所需的内容。 br />
- 报告(myreport。 rdlc )文件。
- 报告查看器(如果是WPF,则为winform报告查看器将用于托管rdlc报告)
- ReportDataSource 报告(我没有使用任何数据库,我想在报告上打印简单文本)
- ReortDataSource的 DataSet 。
我尝试过:
这是在互联网上经过大量努力后所取得的成果。有些人可以参考我关于如何使用所有这些组件来生成报告的简单文章或视频教程。
互联网上有几篇文章,但我找不到一个完美的文章。
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.
这篇关于RDLC在WPF中报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!