Click here to Skip to main content
13,048,584 members (79,170 online)
Rate this:
Please Sign up or sign in to vote.
See more:
How to have Summary row in the Datagrid control. For example I want to display the Total of some columnbelow in the Datagrid control like a summary...
Posted 16-May-12 1:26am
Ajayreddy2611 16-May-12 8:30am
Hi U want total number of records in ur datagrid or u want sum of ur datagrid records?
farhan.mycom 16-May-12 8:46am
Yeah dude...

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I think this would be helpful to you:[^]
Sandeep Mewara 16-May-12 8:19am
Perfect link! 5!

Update: I will not downvote, but WPF related was needed.
farhan.mycom 16-May-12 8:45am
Hey dude.. I'm using WPF... Asp .Net grid is different from WPF grid....
hunain.esh 16-May-12 8:51am
You didn't mentioned it before dude:) I have little familiarity with WPF
hunain.esh 16-May-12 9:02am
Another possibility would be to have a second DataGrid below your first grid, a summary DataGrid if you will.

You could perform data bindings to set the column sizings (if they are dynamic) and it would align nicely if placed in a grid layout in XAML.

Hope this gives you some ideas.

Visit this link dude

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 16 May 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100