如何在不使用数据库的情况下在Crystal Reports中显示DataGridView内容 [英] How to display DataGridView contents in Crystal Reports without using database

查看:91
本文介绍了如何在不使用数据库的情况下在Crystal Reports中显示DataGridView内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在使用基于Windows的应用程序,其中使用DataGridView以矩阵形式显示数据.我不需要数据库来维护其中的数据.我只需要数据即可从中打印出来.我开始为此使用Crystal Reports.我已经创建了一些列,并从文本框中放入了数据,但是我的主要数据在DataGridView中,因此我必须在Crystal Reports中显示它才能继续.

请帮助我.

Hi,
I am using a Windows based application wherein I use DataGridView to show the data in a matrix form. I don''t need database to maintain the data in it. I just need data to get print out from it. I started using Crystal Reports for that. I have created some columns and put the data from the text boxes, but my major data is in the DataGridView and I have to show it in Crystal Reports to proceed.

Please help me with this.

推荐答案


希望您使用Data-table作为Grid-view的数据源....
这样您就可以将此数据表值直接传递给报表查看器....

在此之前,您必须配置Crystal Report页面...
Hi,
I hope you Are using Data-table as Data-source to Grid-view.......
So that you can pass this data-table values to the Report Viewer Directly....

Before This You have to Configure the Crystal Report Page......


这篇关于如何在不使用数据库的情况下在Crystal Reports中显示DataGridView内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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