Click here to Skip to main content
15,886,810 members
Articles / Web Development / ASP.NET

SumColumn: Custom DataGrid Column that automatically shows Sum/Count/Average in DataGrid Footer.

Rate me:
Please Sign up or sign in to vote.
3.75/5 (19 votes)
14 Feb 2006CPOL9 min read 155.1K   4.4K   49  
A normal requirement in any ASP.Net application is to sum/average up the values in a DataGrid column to the Footer. In this article we will compare the normal methods and later create our own custom DataGrid column "SumColumn", derived from BoundColumn to avoid repetition of the same code.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United States United States
Blog at http://www.dotnetpanda.com

Comments and Discussions