Total up Subtotal in gridview

戏子无情 提交于 2019-12-24 00:38:40

问题


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 :

Teacher Name Class A Class B Class C

    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

回答1:


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

After end you will get yoru grid like



来源:https://stackoverflow.com/questions/10024761/total-up-subtotal-in-gridview

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!