视觉工作室 2010 水晶报告 wpf [英] visual studio 2010 crystal reports wpf

查看:13
本文介绍了视觉工作室 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

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 SettingsAdministratorMy DocumentsVisual Studio 2010ProjectsCrystalReportWpfApplication1CrystalReportWpfApplication1CrystalReport1.rpt");
this.reportViewer.ViewerCore.ReportSource = this._report;

这篇关于视觉工作室 2010 水晶报告 wpf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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