Click here to Skip to main content
15,917,481 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Gridview how will add column values and paste in a label
Posted
Comments
Mohd Wasif 21-Jul-11 7:08am    
Please provide your query which you are using for populating gridview

use this,
C#
gdview.Rows[tempcount].Cells[5                            }

and add the result to the lable to a loop
regards ,
shefeek
 
Share this answer
 
select Column1+Column2+Column3+Column4 as Sumofallcolumn from tablename
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900