Find datagridview for selected country and sum the following
I have C# visual studio 2015 application. One column is country name another is amount. I want to find specific country from the datagridview and sum those amount. Please code or example.
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.
Shovan SahaPosted Apr 24, 2017, 1:21 PM
This is datagridview(C#, visual studio 2015):
Sl
SuspenceAccount
AmountBDT
1
Placid Express
30
2
Prabhu Group
40
3
Placid Express
20
4
Ria Financial
70
5
Placid Express
50
This is expected result in iTextSharp report:
Item
Count
Sum
Placid Express
3
100
Prabhu Group
1
40
Ria Financial
1
70
Total
5
210
Shovan SahaPosted Apr 24, 2017, 9:56 AM
Ramesh PalanivelPosted Apr 24, 2017, 9:01 AM