How to display sum of columns values in Gridview Footer
-
Hi, I am working on Asp.net Gridview. In this I have a table with three columns. Among these first two display text and the last one is textbox with some decimal or integer values where user can enter values if he want in this textboxes. All these three columns gets data from database at the beging. Now I want to have a footer at the bottom of this gridview in which I should be able to display the sum of values in the 3rd column i.e., the Textbox column. If anyone have any idea to do this please reply me. Thanks in advance
-
Hi, I am working on Asp.net Gridview. In this I have a table with three columns. Among these first two display text and the last one is textbox with some decimal or integer values where user can enter values if he want in this textboxes. All these three columns gets data from database at the beging. Now I want to have a footer at the bottom of this gridview in which I should be able to display the sum of values in the 3rd column i.e., the Textbox column. If anyone have any idea to do this please reply me. Thanks in advance
Just Try This : CodeSnip: How to Display Sum Total in the Footer of the GridView Control[^]
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.