如何根据搜索打印记录? ? [英] How to Print the Records Based upon Search ? ?

查看:67
本文介绍了如何根据搜索打印记录? ?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生,



我在Asp.net上工作,c#,SqlServer 2005.



我做了一个Web应用程序。在那我有Took Gridview,文本框和打印按钮....从大号搜索记录。数据库并打印它。



所以,如果我搜索记录,它搜索所有与文本框中的搜索相关的记录。





但是,当我点击打印按钮时,它正在打印数据库中的所有记录。



所以,我只需要打印搜索记录。

我需要的任何东西都可以使用CRYSTAL REPORTS。



现在最后我要打印只需单击打印按钮即可记录我所搜索的内容。





请求请帮助我,怎么做这个?



谢谢。

Dear Sir,

Am working on Asp.net , c#, SqlServer 2005.

I have Made a Web Application. In that I have Took Gridview , Textbox and Print button....to search the Records from Large no. of DATABASE and Print it.

So, If i Search the Records, it is searching all the Records related to Search in Textbox.


BUT WHEN I CLICK THE PRINT BUTTON IT IS PRINTING ALL THE RECORDS FROM DATABASE.

So, JUST I NEED TO PRINT ONLY THE SEARCH RECORDS.
Every thing i need it by USING CRYSTAL REPORTS.

now Finally i want to print the Records what ever i have Searched., just by clicking the print button.


Please Please Please Please help me, how to do this ?

Thanks.

推荐答案

传递多个值(是的,这就是你想要的) ,检查这些

使用多值参数为Crystal Reports选择记录 [ ^ ]

打印多个或范围值的参数选择 [ ^ ]
To pass multiple values(yes, this's what do you want), check these
Using Multiple Value Parameters to Select Records for your Crystal Reports[^]
Printing Parameter Selections for Multiple or Range Values[^]


这篇关于如何根据搜索打印记录? ?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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