Crystal报表无法加载 [英] Crystal report can't load

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

问题描述

 ReportDocument cryRpt =  new  ReportDocument(); 
cryRpt.Load(Application.StartupPath + CrystalReport2.rpt);





为什么水晶报告无法加载上述代码.. ?????

解决方案

试试这个:

 cryRpt.Load(Application.StartupPath +   \CrystalReport2.rpt); 


ReportDocument cryRpt = new ReportDocument();
cryRpt.Load(Application.StartupPath + "CrystalReport2.rpt");



Why the crystal report cant load with the above code..?????

解决方案

try this:

cryRpt.Load(Application.StartupPath +  "\CrystalReport2.rpt");


这篇关于Crystal报表无法加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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