visual studio 2010水晶报告wpf [英] visual studio 2010 crystal reports wpf

查看:148
本文介绍了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 p>

From SAP support site 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天全站免登陆