Click here to Skip to main content
14,210,491 members
Rate this:
Please Sign up or sign in to vote.
I am using paging on GridView.
How can i get the total sum of gridview column values,i m getting total for every page in the grid view.

Instead of getting total to every page i need all page total at the end of the grid view footer.in my code i used as dataset to bind the gridview.
Posted
Updated 5-Feb-15 2:30am
v2

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

http://csharpdotnetfreak.blogspot.com/2009/07/display-total-in-gridview-footer.html


go through this link and u will find ur answer
   
Comments
Member 11220730 5-Feb-15 23:35pm
   
This for each pages (Running) Total In Gridview Footer right...i have already got Running Total In Gridview Footer...i want full total at the end of each paging,no need of running pages column total,that is my problem..
Member 11220730 5-Feb-15 23:37pm
   
first page column+second page column+ etc=total sum.
Member 11220730 5-Feb-15 23:39pm
   
in paging its not getting,only current pages total is getting,if page change different sum for each page. i want only total pages sum.
Member 11220730 5-Feb-15 23:39pm
   
please help me.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Cookies | Terms of Service
Web04 | 2.8.190618.1 | Last Updated 5 Feb 2015
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100