Gridview列的总和应显示在Gridview底部的最后一行中 [英] Sum of an Gridview Column should be shown in the last row of Bottom in Gridview

查看:106
本文介绍了Gridview列的总和应显示在Gridview底部的最后一行中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,
我有一个Gridview名称GridPODetails,其中有一个名为
的列 总计",无论总计列中的金额是多少,其总和都应显示在该列中,但应显示在最后一行,或者可以说该列的底部.
例如:总计
200
500
--------------
700


我怎样才能做到这一点?

问候,
Aamir

Dear Friends,
I have a Gridview name GridPODetails, in which there is a column named
"Total", whatever the amount is in the total column its sum should be shown in that column but in the Last row or can say bottom of the column.
eg: Total
200
500
--------------
700


how i can achieve this?

Regards,
Aamir

推荐答案

尝试

尝试查看 http://msdn.microsoft.com/en-us/library/ms972833.aspx [ ^ ]和http://www.ezzylearning.com/tutorial.aspx?tid=1676759 [
Try looking into http://msdn.microsoft.com/en-us/library/ms972833.aspx[^] and http://www.ezzylearning.com/tutorial.aspx?tid=1676759[^]


请参考:
相似的质量检查:
如何计算Gridview中的总列? ? [ ^ ]
如何计算GridView的页脚? [如何在GridView控件的页脚中显示总数 "_blank" title =新窗口"> ^ ]
Please refer:
Similar QA:
How to Calculate Total Column in Gridview ? ?[^]
how to calculate total price in the footer of gridview?[^]

How to Display Sum Total in the Footer of the GridView Control[^]


这篇关于Gridview列的总和应显示在Gridview底部的最后一行中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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