Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Comments
Vinodh.B 5-Feb-13 7:11am    
Question unclear . Do you want row total or column total ? Paste sample output data
ZurdoDev 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

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[^]
 
Share this answer
 
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900