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 GuptaPosted Apr 23, 2017, 11:16 AM
Shovan SahaPosted Apr 24, 2017, 11:07 AM
Sl
SuspenceAccount
AmountBDT
1
Placid Express
30
2
Prabhu Group
40
3
Placid Express
20
4
Ria Financial
70
5
Placid Express
50
Amit GuptaPosted Apr 24, 2017, 11:00 AM
Shovan SahaPosted Apr 24, 2017, 10:10 AM