Geeks With Blogs
AzamSharp Some day I will know everything. I hope that day never comes.

Someone asked on ASP.NET forums that how you can display a running total inside the GridView control. I thought it would be a exercise to implement a simple application that keeps a running total. You can implement the running total in different ways but I think the best way is that when you enter the number in the TextBox it should be added to the total. In this way you don't need to do any postback and hence you don't need to wait. I have implemented the running total application which can be viewed at the following link.

Implementing Running Total inside the GridView Control

The download files are also included at the end of the article.

powered by IMHO 1.3

Posted on Monday, June 26, 2006 11:01 AM | Back to top

Comments on this post: Displaying Running Total in GridView

# re: Displaying Running Total in GridView
Requesting Gravatar...
add this in your gridview

<%# Container.DataItemIndex + 1 %>
Left by navneet on Dec 10, 2007 7:44 PM

Your comment:
 (will show your gravatar)

Copyright © Mohammad Azam | Powered by: