使用代码的Crystall报表 [英] Crystall Reporting using code

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

问题描述

如何在运行时使用代码创建Crystal报表,也就是说,我想添加通过代码创建的数据集,以将其添加到Crystal报表中.

在此先谢谢您.

How to create a crystal report using code at run-time, that is, I want to add the dataset created through code to be added to my crystal report.

Thanks in Advance.

推荐答案

是的,您已经指定了报告源,但是没有提供路径.

您尚未指定报告文件路径.写这个

Yes you have specified the reportsource but no path is provided.

You have not specified the report file path. Write This

reportDocument1.Load(@'Paste Your Report File Path');


您在这里
没有数据库的C#Crystal Reports [
Here you go
C# Crystal Reports without database[^](Using Strongly Typed Dataset)


使用CrystalReportViewer并将数据集中的数据提取到该报表中
Use CrystalReportViewer And Fetch the data from dataset into that report


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

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