ShowFooter="true"
Double vertex = 0; double yg_dykpsr_bhs = 0; double yg_dysrhj_bhs = 0; protected void vertex (Object sender, gridviewroweventargs e) {for (INT I = 0; I <gvincomeyg. rows. count; I ++) {label lblyg_dyygsr_bhs = (Label) gvincomeyg. rows [I]. cells [18]. findcontrol ("yg_dyygsr_bhs"); label lblyg_dykpsr_bhs = (Label) gvincomeyg. rows [I]. cells [19]. findcontrol ("yg_dykpsr_bhs"); label lblyg_dysrhj_bhs = (Label) gvincomeyg. rows [I]. cells [20]. findcontrol ("yg_dysrhj_bhs"); yg_dyygsr_bhs + = convert. todouble (lblyg_dyygsr_bhs.text.tostring (); yg_dykpsr_bhs + = convert. todouble (lblyg_dykpsr_bhs.text.tostring (); yg_dysrhj_bhs + = convert. todouble (lblyg_dysrhj_bhs.text.tostring ();} If (E. row. rowtype = datacontrolrowtype. footer) {e. row. cells [0]. TEXT = "Total"; E. row. cells [18]. TEXT = yg_dyygsr_bhs.tostrings ("0.00"); E. row. cells [19]. TEXT = yg_dykpsr_bhs.tostring ("0.00"); E. row. cells [20]. TEXT = yg_dysrhj_bhs.tostring ("0.00 ");}}