如何在RDLC中显示每个页面中的列总和 [英] How To display the Sum Of Columns in Each Pages in RDLC

查看:58
本文介绍了如何在RDLC中显示每个页面中的列总和的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好...



我想在使用RDLC时显示项目报告,我需要每个页面总计如下结构。





Page 1:

Hi All...

I want to show item reports in use of RDLC,i need each pages total like the following structure.


Page 1:

--------------------
Item name      rate
--------------------
Book            35
Pencil          10
Pen             40
--------------------
    Total       85





第2页:



Page 2:

--------------------
Item name      rate
--------------------
Book            20
Pencil          10
Pen             40
--------------------
    Total       70



Page 3:


Page 3:

--------------------
Item name      rate
--------------------
Book1            30
Pencil1          10
Pen1             40
--------------------
    Total       80



第4页:


Page 4:

--------------------
Item name      rate
--------------------
Book2            40
Pencil2          10
Pen2             40
--------------------
    Total        90;







RDLC的最后一页显示的是这样的等级总额






The Last page of RDLC is Showing the Grade Total like this

Grade Total = 325





发送您的想法...



Send Your ideas...

推荐答案

我得到了解决方案..



步骤1:

创建表并将数据插入那个表通常。



第2步:

创建页脚并在该页脚中创建一个文本框。转到该文本框表达式超过以下代码。

I got the solution..

Step 1:
Create the table and insert data into that table normally.

Step 2:
Create Page footer and also crate one textbox in that footer.and go to that textbox expression and past the following code.
=SUM(ReportItems!rate.Value)



这里rate =字段名称,因此字段名称根据用户而改变。


Here rate=Field name,so the field name changed based upon user.


这篇关于如何在RDLC中显示每个页面中的列总和的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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