WPF中的报表查看器 [英] Report Viewer in WPF
本文介绍了WPF中的报表查看器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个WPF项目,我需要预览一个水晶报告。有可能做到这一点吗?
我在WPF项目中找不到报表查看器控件。
I have a WPF project and I need to preview a crystal report. Is it possible to do this? I can't find a report viewer control in WPF project.
感谢
推荐答案
您可以使用Windows窗体互操作技术的窗体 CrystalReportViewer
将查看器添加到您的WPF应用程序。
WindowsFormsHost
类
You can use CrystalReportViewer
of windows form with Windows form interop technology to add the viewer to your WPF applicaion.
see WindowsFormsHost
Class
这篇关于WPF中的报表查看器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文