How to sum a column in repeater control

Posted by rajrprk-12523 under ASP.NET on 11/22/2011 | Points: 10 | Views : 2292 | Status : [Member] | Replies : 1
i have a repeater control that contain 13 rows, from that rows i want to sum(Total) a column in the control. How can i Get total, Anyone please post solution for this.......




Responses

Posted by: Blessyjees on: 11/22/2011 [Member] Bronze | Points: 25

Up
0
Down
hi,

You can calculate the sum in the sql query or you can use linq to calculate the sum and bind that value to the particular column.

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

rajrprk-12523, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response