在gridview中合计小计 [英] Total up Subtotal in gridview

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

问题描述

我需要在我的项目中显示小计总额,但我不知道如何在GridView和小计总额中显示它。有人能帮助我吗?我需要像这样展示它:

I need to show the amount of Sub Total in my project but I do not know how to show it in the gridview and amount of Sub Total. Can someone help me please? I need to show it like this :

    Mia           23       32       24
                  35       35       20
                 ----------------------
Sub Total :       58       67       44
                 ----------------------
  Stephen         36       25       34     
                  22       31       19
                 ----------------------
Sub Total :       58       56       43
                 ----------------------
    Total :       116      123      87


推荐答案

是的,你可以实现这一点,你需要按照本文中给出的细节:组 GridView中的Total Total总额

yes you can achive this you need to follow the details given in this article : Group Total, Grand Total in GridView

结束后,您将获得yoru网格,例如

After end you will get yoru grid like

这篇关于在gridview中合计小计的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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