sum column item datagridview

R

RT_SLOVAKIA

Hi, please help.

I have winform application in c #. I have datagridview connected to database
with two column. I want to do :

sum all column row in column price and insert result to textbox.

DATAGRIDVIEW
____________________________
columnName columnPrice
aaa 10
bbb 5
ccc 10
_____________________________

i want this: textbox1.text = sum all item in columnPrice, thanks
 
Top