Item | Price |
A | 3 |
B | 4 |
A | 5 |
B | 6 |
A | 3 |
C | 2 |
C | 1 |
I need a new datagridview like this:
Sl. No. | Item | Total Price |
1 | A | 11 |
2 | B | 10 |
3 | C | 3 |
How is it possible?
Item | Price |
A | 3 |
B | 4 |
A | 5 |
B | 6 |
A | 3 |
C | 2 |
C | 1 |
Sl. No. | Item | Total Price |
1 | A | 11 |
2 | B | 10 |
3 | C | 3 |
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rahul KaushikPosted Sep 8, 2017, 12:34 AM
Shovan SahaPosted Sep 8, 2017, 7:05 AM
Type
Item
Price
Quantity
L
A
3
2
M
B
4
3
L
A
5
7
M
B
6
8
L
A
3
5
S
C
2
9
S
C
1
12
Sl. No.
Type
Item
TotalPrice
TotalQuantity
1
L
A
11
14
2
M
B
10
11
3
S
C
3
21
Midhun TpPosted Sep 8, 2017, 1:07 AM
Amit GuptaPosted Sep 7, 2017, 2:58 PM