sum of numbers in footer template

Posted by Oswaldlily under ASP.NET on 6/7/2012 | Points: 10 | Views : 1001 | Status : [Member] | Replies : 1
I have gridview with template field -item template and footer template
item template=displays some numbers(comes from database)
under dt footer template=>have to display sum of all item template rows

How to do sum in footer template


Posted by: .Netlearner on: 6/7/2012 [Member] Starter | Points: 25

Declare a Global variable.
While Displaying the data from database to item template assign those values to the global variable and use those variables in Footer template controls.

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response