Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am new in MVC Razor.i want to know how to Display or calculate sum of columns Total in webgrid (gridview) Footer.

example
-------------------
SNO EmpName Amount
1 A 1000
2 B 2000
3 c 1000
------
Total 4000



If anyone know please share your idea.

Thanks
Posted
Updated 9-Nov-17 22:34pm

This too might help you-
Adding A Footer To The Razor WebGrid[^]

-KR
 
Share this answer
 
 
Share this answer
 
 
Share this answer
 
Comments
CHill60 27-Dec-15 9:34am    
If you want to add information to your existing solution use the "Improve solution" link rather than posting another solution. How do people know which solution was intended to be the actual one?

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