如何使用asp.net,c#一键打印多页? [英] How do i print multiple pages at one click using asp.net,c#?

查看:101
本文介绍了如何使用asp.net,c#一键打印多页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从网格中打印选定的发票.
页眉和页脚区域是固定的,仅正文会根据发票进行更改.

我要一键式打印所有选定的发票.
例如:如果用户选择了5张发票,那么我需要根据从数据库中获得的记录信息来打印5页.

注意:我有一个默认的aspx页面模板来绑定报表,因此我可以通过渲染直接打印该控件.

但是在有多个页面的情况下,我该怎么办?

请帮忙,我需要执行此任务的最佳方法.

预先感谢

I want to print selected invoices from the grid.
Header and footer areas are fixed and only the body will change as per the invoice.

In One click of button I want print all selected invoices.
eg: if user selected 5 invoices I need to print 5 pages off, according to record information got from Database.

Note: I have a default aspx page template to bind the report and so that I can directly print that control by rendering.

But in the case of multiple pages, how would I?

Please help, I need the best way to do this task.

thanks in advance

推荐答案

好吧,其中一种方法可能是创建报告.将所有选定发票的唯一ID传递到数据库,以便您可以获取所需的值.在报告中显示此查询结果.怎么说?
Well, one of the ways could be to create a report. Pass on all the selected invoices unique ID to database such that you can fetch the desired value. Show this query result in the report. What say?


问题:
打印许可证/发票的最佳方法是什么.通过Crystal报表或直接从Web窗体.

谢谢
Question:
What is the best way to print License/invoice. by Crystal report or directly from web form.

Thank you


这篇关于如何使用asp.net,c#一键打印多页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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