在.net中创建报告 [英] Creating report in .net

查看:65
本文介绍了在.net中创建报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一份用于打印已售物品清单的报告.但是,在运行其他客户时,也会显示项目.如何设置报告,使其仅显示特定的客户账单.

I have created a report for printing bill of saled items. But while running other customers items are also shown. How can I set my report such a way that, it will display only a particular customers bill.

推荐答案

可能有两种过滤方法-

1)在设置为报表的数据源之前,请过滤此数据.在这种情况下,在sql查询中执行此过滤器将是最好的方法.

2)如果使用的是Crystal报表,则可以在报表中过滤数据.

1是一种更好,更有效的方法.
There could be two ways to filter -

1) Filter this data before you set to the datasource of the report. In this case, doing this filter in the sql query would be the best way.

2) If you are using Crystal reports, you could filter your data within the report.

1 would be the better and more efficient way.


这篇关于在.net中创建报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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