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.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Mar 3, 2015, 3:22 AM
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
sumit kumarPosted Mar 3, 2015, 2:57 AM
your calculated sum can be populated on lblSum label now.
Anil KumarPosted Feb 28, 2015, 6:55 AM
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?