Click here to Skip to main content
12,399,561 members (49,109 online)
Rate this:
 
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 5-Feb-13 7:11am
   
Question unclear . Do you want row total or column total ? Paste sample output data
ryanb31 5-Feb-13 8:47am
   
That format does not quite make sense. Can you be more clear?
Sandeep Mewara 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 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 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 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 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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 5 Feb 2013
Copyright © CodeProject, 1999-2016
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