Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
SUB totals in grid view can be done via
 
http://blog.codovations.com/2009_05_01_archive.html
 
i found this example in internet
 
but i subtotal are not in particular cell
 
like
 
a b c
1 5 6
1 8 4
13 10
2 1 2
2 2 3
3 5
 
in this format
 
please help me
Posted 5-Feb-13 0:45am
Comments
Vinodh.B at 5-Feb-13 7:11am
   
Question unclear . Do you want row total or column total ? Paste sample output data
ryanb31 at 5-Feb-13 8:47am
   
That format does not quite make sense. Can you be more clear?
Sandeep Mewara at 5-Feb-13 12:45pm
   
1. Not clear.
2. Did you try anything by yourself based on what you know/discovered on net?
mani.kishore.asp.net at 5-Feb-13 21:40pm
   
i am trying for
 
http://www.gregorylane.com/article.aspx?ID=1
 
but unable to get the out put
 
i.e please see the subtotal
every column has it's own total at bottom cell
 
same way i was trying
 
below link gives output
 
http://blog.codovations.com/2009_05_01_archive.html
 
but it's providing subtotal in merged way
mani.kishore.asp.net at 5-Feb-13 21:59pm
   
i have 3 columns
 
names english marks maths marks
 
if both names are same like
 
a 20 marks 30 marks
a 15 marks 10 marks
 
i am trying for output to be like
35 marks 40 marks at bottom of their respective columns.

1 solution

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

Solution 1

Seriously your question was confusing one(with that poor formatted sample output). Next time please format your questions to avoid confusions. Anyway check this for the answer.
 
Group Total, Grand Total in Grid View[^]
  Permalink  
Comments
mani.kishore.asp.net at 5-Feb-13 21:59pm
   
i have 3 columns
 
names english marks maths marks
 
if both names are same like
 
a 20 marks 30 marks
a 15 marks 10 marks
 
i am trying for output to be like
35 marks 40 marks at bottom of their respective columns.
thatraja at 5-Feb-13 23:42pm
   
Did you check the link in my answer? That has clear solution. Try it.

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 483
1 Maciej Los 360
2 OriginalGriff 308
3 Yogesh Kumar Tyagi 275
4 CHill60 220
0 OriginalGriff 6,367
1 Sergey Alexandrovich Kryukov 5,296
2 Maciej Los 3,384
3 Peter Leow 3,259
4 DamithSL 2,490


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 5 Feb 2013
Copyright © CodeProject, 1999-2014
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