如何在不使用数据库的情况下在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......