C#windows应用程序中的Crystal报表。 [英] Crystal report in C# windows application.

查看:89
本文介绍了C#windows应用程序中的Crystal报表。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在视觉工作室安装了水晶报告。

我需要在我的Windows应用程序中添加一个报告。



我尝试了什么:



我创建了一个表单,并添加了一个水晶报表查看器。在页面加载事件中



I installed crystal report in visual studio.
I need to add a report in to my windows application.

What I have tried:

I created a form and i added one crystal report viewer. In the page load event

ReportDocument cryRpt = new ReportDocument();
         crystalReportViewer1.ReportSource = cryRpt;
         cryRpt.Load(@"~/cr/oo.rpt");
         crystalReportViewer1.Refresh();





请帮忙我如何在c#windows项目中添加水晶报告。



Any one please help on how can I add a crystal report in c# windows project.

推荐答案

点击此链接并逐步完成

使用C#和VB.Net的Windows窗体(WinForms)应用程序中的示例的基本Crystal Report教程 [ ^ ]
Follow this link and do step by step
Basic Crystal Report Tutorial with example in Windows Forms (WinForms) Application using C# and VB.Net[^]


这篇关于C#windows应用程序中的Crystal报表。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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