Click here to Skip to main content
15,889,863 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I create a project on vb.net 2010 and SQL server 2008r2 I showing a report in listview report am show fine and error free. But now I want to add a sub total column every end of the category. How it is possible please help me sir

please see the attachment picture

lvgROUP — imgbb.com[^]

lvgROUP — imgbb.com[^]

What I have tried:

I try many coding, but not work, because i have no more knowledge about this.
And search on google but many example are on Datagridview, but I used Listview
please help me sir.......
Posted
Updated 30-Nov-18 22:43pm

1 solution

Add an extra column to the ListView if you want subtotals in a separate column. You then need to add a row at the point where the subtotal is to occur. Add the values of the related rows and put the subtotal in that row in the relevant column.
 
Share this answer
 

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