GridView Grouping and Summaries

by Cameron Albert 18. July 2007 13:49
If you are looking to group your grid view results and provide summaries such as totals, etc. I found a great utility for grouping GridView results. It is a set of classes that provide a helper for your grids to allow grouping. The component is super easy to use just remember that if you don't use a data source control you have to handle the GridView Sorting event. You don't actually have to have any code in the event handler, just handle the event.

Tags: , , ,

ASP.NET Development

Comments

8/28/2008 5:02:49 AM #

Ziyad

Hello...

Check my blog to get the control for free to group data in gridview

REgards, Ziyad

Ziyad United States

8/28/2008 3:20:22 PM #

calbert

Looks like a nice control, I will check it out, thanks!

calbert United States

6/2/2009 3:01:09 PM #

paul makram

I round my self many times , Because i'm didnot using sql data source but i used the code to bind my gridView
So the helper control didnot work probery
But ,When i red your explanation i tried again using sqlDataSource and now it worked perfect,Thank you again you save my time and my brain because i near to lost it

paul makram Egypt

6/2/2009 3:12:31 PM #

calbert

Glad you got it worked out! Smile

The ListView control in 3.5 provides some built in grouping.

calbert United States

Powered by BlogEngine.NET 1.5.0.7
Modified Theme by Mads Kristensen

About the Author

CameronAlbert.com I am Senior Software Development Consultant specializing in Silverlight, WPF and the Microsoft .NET Framework. 

I have released an iPhone game called the Adventures of Puppyman that was built using ExEn and am currently working on a WP7 and iPhone version of Perenthia soon to be released.

View Cameron Albert's profile on LinkedIn
See how we're connected

Follow cameronalbert on Twitter

 

Recommended Books

Silverlight 4 Business Application Development - Beginner's Guide:

http://www.packtpub.com/microsoft-silverlight-4-business-application-development-beginners-guide/book

Microsoft Silverlight 4 Business Application Development: Beginner’s Guide