Conditional sum from dgv
I have C# application in visual studio 2015. One column is "Country" another is "Amount". Say, India is five times in country column in datagrid view I want to sum of amount column against those are India. Please code or example.

Amit GuptaRank #190 · 12.8K reputationPosted Apr 23, 2017, 7:16 AM EDT
Shovan SahaRank #4,546 · 338 reputationPosted Apr 24, 2017, 6:10 AM EDT
Amit GuptaRank #190 · 12.8K reputationPosted Apr 24, 2017, 7:00 AM EDT
Shovan SahaRank #4,546 · 338 reputationPosted Apr 24, 2017, 7:07 AM EDT
Sl
SuspenceAccount
AmountBDT
1
Placid Express
30
2
Prabhu Group
40
3
Placid Express
20
4
Ria Financial
70
5
Placid Express
50