Crystal Report 2008的打印问题 [英] Printing Problem with Crystal Report 2008

查看:70
本文介绍了Crystal Report 2008的打印问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,

我在Webform上有一个GRIDVIEW,并将数据从数据库显示到Gridview.

在gridview Source中,我将Command Filed设置为:

Dear Friends,

I have a GRIDVIEW on my Webform,and Displayed Data from Database into Gridview.

In gridview Source I gave Command Filed as :

<Columns>
 <asp:CommandField ShowSelectButton="True"" />
 </Columns>


当我单击Gridview中的选择"命令时,它将重定向到另一页并仅显示一个行记录.
现在,最后,我要打印选定的行记录.通过使用Crystal Reports.
我已经在ASP.NET 3.5中创建了一个Cyrstal报表.
当我单击打印"按钮时,所有Gridview记录都在打印.
所以我需要打印唯一选择的行记录.
因此,请任何人能帮助我,如何在Gridview中打印选定的记录.

谢谢.


When i Click the Select command in Gridview, it Redirects to another page and displays Only one Row Record.
Now Finally, I want to Print the Selected Row Records. by using Crystal Reports.
I have Created a Cyrstal Report in ASP.NET 3.5.
When I click the Print Button, All the Gridview Records are Printing.
SO I NEED TO PRINT THE ONLY SELECTED ROW RECORDS.
So Please can anybody help me, how to print the Selected Records in Gridview.

Thanks.

推荐答案

创建一个Crystal Report文件并根据您的要求进行设计.现在创建一个表,用于将数据从前端传输到后端.现在,将Crystal Report连接到数据库,然后选择要在Crystal Report文件中显示的数据源字段.

现在,当您此时要打印记录时,只需在打开Crystal报表文件后,首先将数据插入数据库中.记录将找到.
但是首先删除所有记录.
Create A Crystal Report File and Design it according to your requirement. Now Create a table for the Transfer the data from Front End to Back End. Now Connect the Crystal Report to Database and select the datasource fields which you want to display in Crystal Report File.

Now When you want to print the Record at this time first insert the data in the database after just open the crystal report file. The Record will found .
But First delete all the records.


这篇关于Crystal Report 2008的打印问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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