如何在使用分页时在网格视图的最后一页上的不同页面中显示和添加所有页脚值 [英] how to show and add all footer values in different page on last page in grid view while using paging

查看:58
本文介绍了如何在使用分页时在网格视图的最后一页上的不同页面中显示和添加所有页脚值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我已经使用gridview显示页脚中特定列的所有行的总数和

我也使用了此gridviw的分页,grieview中有4页。现在我必须在一个单独的页面上取所有四个页脚值,然后我必须添加该值来计算授予总额。

所以,你能否建议我如何在最后一页上取所有4页脚值。



1 A 2

2 B 3

3 C 4

总计9



1 A 4

2 B 4

3 C 4

总计12



然后结果它应该是这样的



Total1 9

总计12 12

格兰特总计21







感谢你....

Hi I have taken gridview which shows the total of all rows in particular column in footer and
I also used paging for this gridviw ,there are 4 pages in grieview.Now I have to take all four footer values on a seperate page and then i have to take addition of that value to calculate grant total.
So please can you suggest me how to take all 4 footer values on last page.

1 A 2
2 B 3
3 C 4
Total 9

1 A 4
2 B 4
3 C 4
Total 12

then in result it should be like this

Total1 9
total2 12
Grant Total 21



Thanking You....

推荐答案

这篇关于如何在使用分页时在网格视图的最后一页上的不同页面中显示和添加所有页脚值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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