Kumar

Kumar

  • NA
  • 115
  • 3.9k

How to calculate the Total on a Repeater Control

Sep 3 2019 9:36 AM
Hi All,
Can you please advise me how can i do the calculation of two columns and populate the Total on another Column.  I am using the Repeater Control asp.net and Java Script. 
Please advise me how can able to achive this.
the Table looks like this below:
 
    Ordinary Extra Ordinary
    A1 A2 A3 A1 A2 A3
First Level Permanent 1 2 3 4 5 6
Temporary 2 3 4 5 6 2
Total 3 5 7 9 11 8
Second Level Permanent 2 2 3 5 5 6
Temporary 2 4 4 5 6 2
Total 4 6 7 10 11 8
 
I want to achieve this using javascript or jQuery please advise me.
 
Thanks in advance.
Kumar. 

Answers (4)