Visual Studio 2010的水晶报表WPF [英] visual studio 2010 crystal reports wpf

查看:133
本文介绍了Visual Studio 2010的水晶报表WPF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创造了我的报告,但我似乎无法与报表源的报表查看器绑定? ?我认为,他们改变了事物的实现方式

I created my report but I cant seem to bind the report viewer with the report source? I think they changed the way things are done?

推荐答案

从SAP支持站点
http://forums.sdn.sap.com/message.jspa?messageID=8995372

//Using the ReportDocument SDK
this._report = new ReportDocument();
this._report.Load(@"C:\Documents and Settings\Administrator\My Documents\Visual Studio 2010\Projects\CrystalReportWpfApplication1\CrystalReportWpfApplication1\CrystalReport1.rpt");
this.reportViewer.ViewerCore.ReportSource = this._report;

这篇关于Visual Studio 2010的水晶报表WPF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆