Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
We need a free datagridview support summaries and footers for a small C# windows forms applications.


Please help us ASAP.
Thank You

What I have tried:

I tried to use the .net datagridview but it is not support the footer and summaries.
Posted
Comments
PIEBALDconsult 8-Jan-24 20:06pm    
DataGridViews are generally not a good idea. I recommend thinking of a better design.

Sorry, but this site does not provide code to order. You should start investigating the standard DatagridView to see how you can use it as a base for your own custom control. You might also go to the CodeProject Articles Section[^] to see if anyone has already done something similar.
 
Share this answer
 
Comments
Maciej Los 9-Jan-24 9:31am    
5ed!
In addition of Solution-1, the Winform Datagridview lacks direct support for adding a footer. An alternative approach involves creating a custom user control featuring two grids, with the lower grid for displaying the summary or incorporating additional controls. Refer to this article for comprehensive guidance that aligns with your requirements. How to fake "freeze" last row in datagridview. Create a footer row for a datagridview.[^]
Within this article, you'll find a link embedded in the Introduction section that directs you to another article. This additional resource can provide you with the information you are seeking.
 
Share this answer
 
Comments
Maciej Los 9-Jan-24 9:31am    
5ed!
M Imran Ansari 9-Jan-24 18:57pm    
Thank you.

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