Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
1.00/5 (1 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

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


go through this link and u will find ur answer
 
Share this 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900