如何在gridview中计算所有记录并在ASP.NET C#中的页脚中显示 [英] How to count all the records in gridview and display in footer IN ASP.NET C#

查看:72
本文介绍了如何在gridview中计算所有记录并在ASP.NET C#中的页脚中显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,祝你有美好的一天.

我有一个显示有成千上万条记录的gridview.并在其中进行了Gridview的分页.

因此,如何在Gridview页脚中显示记录总数.

请解决此解决方案.谢谢

dear all, have a good day.

I have a gridview with thousand of records displayed in it. and gave paging in it for Gridview.

so how to display total number of records in Gridview Footer.

Please solve this solution. Thanks

推荐答案

您好,请访问此链接

http://ajaysr64.blogspot.in/2011/07/how-to-show-sum-at-footer-in-gridview.html [
hello visit on this link

http://ajaysr64.blogspot.in/2011/07/how-to-show-sum-at-footer-in-gridview.html[^]


Ranjith Reddy,

我想如果要在页脚中显示总计,请使用自定义控件.

否则,将使用显示Grid和Footer的逻辑创建自定义控件.
Hi Ranjith Reddy,

I think if you want to display total in footer then use Custom control.

Otherwise create custom control with your logic which display Grid and Footer.


这篇关于如何在gridview中计算所有记录并在ASP.NET C#中的页脚中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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