Hi folks,
I want to show total of gridview column .saw some link but everyone bind data from datasource but i want to show data from command.then how i calculate total
please share some link how i achive my goal.
How to show total in footer
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Anil KumarRank #2,740 · 511 reputationPosted Feb 28, 2015, 1:55 AM EST
Examples :-
http://csharpdotnetfreak.blogspot.com/2009/07/display-total-in-gridview-footer.html
http://www.encodedna.com/2013/06/sum-of-gridview-column-in-footer.htm
BTW Why you don't want to use this?
sumit kumar131 reputationPosted Mar 2, 2015, 9:57 PM EST
your calculated sum can be populated on lblSum label now.
Jignesh TrivediRank #16 · 50.3K reputationPosted Mar 2, 2015, 10:22 PM EST
Hi,
Please refer below link it might help you
http://www.aspdotnet-suresh.com/2011/02/how-to-display-sum-of-columns-total-in.html
http://www.encodedna.com/2013/06/sum-of-gridview-column-in-footer.htm