Dear friend I have one gridview and one checkboxlist cheboxlist conatin
following Items
Apr-15
May-15
Jun-15
Jul-15
Aug-15
Sep-15
Oct-15
Nov-15
Dec-15
Jan-15
Feb-15
Mar-15
my gridview also have same column as item name like
Apr-15 May-15 Jun-15 Jul-15 Aug-15 Sep-15 Oct-15 Nov-15 Dec-15 Jan-15 Feb-15 Mar-15
and these column contains integer type value as
Apr-15 May-15 Jun-15 Jul-15 Aug-15 Sep-15 Oct-15 Nov-15 Dec-15 Jan-15 Feb-15 Mar-15
500 0 0 0 0 0 0 0 0 0 0 0
1500 0 0 0 0 0 0 0 0 0 0 0
350 0 0 0 0 0 0 0 0 0 0 0
400 500 500 500 500 500 500 500 500 500 500 500
now i want to calculate the running total of column value in gridview means if i select two Items from cheboxlist like Apr-15,May-15 then my code can calculate only running total of two column in gridview for Apr-15,May-15 if I select three item from cheboxlist like Apr-15,May-15,Jun-15 my code can calculate only running total of three column in gridview for Apr-15,May-15,Jun -15. and so on...
please any one suggest us or give some idea how we can do this