1
Answer

Sum of Datagridview specific column duplicate text values

Luv L

Luv L

Sep 29
317
1

Hi

pls help the code of below 

column1   column2

10                 apple

2                    mango

4                    apple

1                     mango

3                     orange

2                     mango

-------------

22

--------------

i want to seperate the sum of item wise value wise like

apple = label1.text = 14          (10+4)

mango = label2.text = 5        (2+1+2)

orage = label3.text = 3

 

thanks in advance

Answers (1)