crystalreportviewer中的错误 [英] error in crystalreportviewer

查看:91
本文介绍了crystalreportviewer中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用C#2008编写了Windows应用程序
我加载rpt(report)文件并在crystalreportviewer中显示,然后使用crystalreportviewer上的导出按钮将其导出为pdf格式.

之后,我无法再加载新的rpt文件.我看到一条错误消息,内容为:加载文件错误.找不到您的文件",但我的文件已正确处理.

请告诉我,我应该关闭任何诸如crystalreportviewer或东西之类的东西吗?如何重用crystalreportviewer?

:confused:

hi i wrote a windows application with C# 2008
i load a rpt(report) file and show it in crystalreportviewer then i export it to pdf format with using export button on crystalreportviewer.

after that i can not load a new rpt file any more. i saw an error message that says : "load file error. your file couldent be found" but my file is addressed correctly.

please, tell me should i close any thing like crystalreportviewer or somthing or what? how can i reuse the crystalreportviewer?

:confused:

推荐答案

可能是路径问题,报告文件路径,
始终不要给出绝对路径,而要给出报告文件的相对路径,
试试这个,
可能对您有帮助
不需要thanx,
友谊中没有人
may be that is the problem of path, the report file path,
dont give absolute path always, give relative path to the report file,
try this,
may that helps you
no need for thanx,
no thanx in friendship


这篇关于crystalreportviewer中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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