使用C#创建Crystal报表 [英] Create crystal report using C#

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

问题描述

大家好...我只是想问一下如何在C#中创建水晶报表的不同方法?从我阅读的内容中,我需要右键单击我的解决方案并选择新项目并选择Crystal Report并开始设计...但是我在想如果我已经从其他解决方案/项目中获得了crystalreport.rpt ...我该怎么办?能否在其他解决方案中使用该rpt文件?

good day guys... i just want to ask the different ways how to create a crystal report in c#? from what i read i need to right click on my solution and select new item and select crystal report and start designing... but i was thinking wat if i already have my crystalreport.rpt from other solution/project... how will i able to use that rpt file in other solution?

推荐答案

美好的一天.您必须手动将Crystal Report .rpt文件从其他解决方案复制到当前项目/解决方案.然后从VS中,通过单击添加现有项"来添加该报告文件.然后,您必须将ReportViewer.ReportSource属性更改为当前报告.我认为这可能会解决您的问题....
Good day. you have to copy the crystal report .rpt file from other solution to your current project/solution manually. Then from VS please add that report file by clicking Add Existing Item. Then you have to change the ReportViewer.ReportSource property to the current report. I think it may solve your problem....


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

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