Visual Studio 2010中的Crystal报表问题 [英] Crystal report problem in visual studio 2010
问题描述
hai,
我在c sharp windows应用程序中遇到了我的水晶报告问题。
i had a problem with my crystal report in c sharp windows application.
当我绑定时水晶报告的数据将立即关闭整个申请...
when i bind the data with the crystal report the whole application will be closed immediately...
请给我一些解决方案..
please give me some solution to this..
我的代码是:
try
{
ReportDoc.Load(Application.StartupPath.ToString() + "\\Reports\\crPendingPlots.rpt");
ReportDoc.SetDataSource((DataTable)_dt);
crystalReportViewer1.ReportSource = ReportDoc;
crystalReportViewer1.RefreshReport();
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}
finally
{
clsConnection.CloseConnection();
crystalReportViewer1.Refresh();
}
推荐答案
嗨项目创建者,
Hi project creator,
欢迎来到MSDN论坛。
Welcome to the MSDN forum.
这个队列是关于Visual Basic的。我担心您关于Crystal报告的主题在这里不合适。为了获得更好的支持,我将把这个帖子移到主题论坛上。您可以通过以下链接找到正确的论坛:
http://www.sdn.sap.com/irj/scn/advancedsearch?query=crystal+report 。
This queue is about Visual Basic. I’m afraid that your topic about Crystal report is unsuitable here. For better support, I will move this thread to off topic forum. You can find the correct forum with the help of this link: http://www.sdn.sap.com/irj/scn/advancedsearch?query=crystal+report .
同时,如果您对C#有任何其他问题,请将您的帖子发布到
C#一般论坛。
At the same time, if you have any other issues with C#, please post your thread to C# general forum.
很抱歉给您带来不便,祝您有个愉快的一天。
Sorry for any inconvenience and have a nice day.
这篇关于Visual Studio 2010中的Crystal报表问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!